Qcarchive update#187
Conversation
…to be compatible with qcportal >=0.5
|
Awesome! This is good timing with #186 Once we get both in, we should cut a new release. |
|
This PR implements the logic in effectively the same way as the old code, which is on a per-record basis (i.e., a function operates on a single record name). The new version of qcportal has iterators on records, which are substantially faster (like orders of magnitude, due to prefetching and caching). The next commit will include functions that operate on the entire record sets to avoid slow performance. |
Codecov Report
Additional details and impacted files |
|
This line will need to get changed @chrisiacovella https://github.com/choderalab/espaloma/pull/187/files#diff-ba5d22563299549a389183418fe5786b83275382be592bf1ed06fae673b7d086L23 Sorry about that! |
|
We can probably remove that line since https://github.com/choderalab/espaloma/pull/187/files#diff-ba5d22563299549a389183418fe5786b83275382be592bf1ed06fae673b7d086R33 will pull in what we need (I think, I am not sure what the "main" qcarchive package is) |
…rds and iterates_entries functions
Good catch. |
mikemhenry
left a comment
There was a problem hiding this comment.
LGTM, had two non-blocking notes
ijpulidos
left a comment
There was a problem hiding this comment.
This is geat. I'm glad that we are now testing the behavior and have some documentation for these utils. I agree with the comments that have been made. Looks good to be merged, just a single non-blocking comment.
mikemhenry
left a comment
There was a problem hiding this comment.
From @jchodera
There are apparently some additional issues with the object model such that datasets beyond
OptimizationDatasetare not supported
Yes. the |
|
@chrisiacovella I remember when fetching the results from the |
@kntkb This is something I started looking at when switching from the old to the new version, but I can't seem to find my notes; for some reason I think one of the specifications does include the sum, but don't quote me on that. I'm currently trying to figure that out right now actually. |
… dataset has the smiles encoded for converting to openff.molecule
… dataset has the smiles encoded for converting to openff.molecule
…d so that it will raise the desired exception rather than failing.
…rse the singlepoint records properly at this point. Other issues need to be resolved with singlepoint energy beyond this (i.e., summation of dispersion corrections).
…rse the singlepoint records properly at this point. Other issues need to be resolved with singlepoint energy beyond this (i.e., summation of dispersion corrections). This PR should sufficiently reproduce the prior behavior, but with new qcportal.
|
@chrisiacovella Is this PR good to go? I know its a year old now BUT is it good to go? |
|
Thanks! Will make a new release of espaloma next! |
This updates qcarchive_utils.py to be compatible with v0.5 of qcportal. Relates to issue #185
This code reproduces the same behavior as the prior implementation.