This repository has been archived by the owner on Sep 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 119
[coordinates] handle default_chunksize gracefully. #1251
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PCA, TICA and VAMP have dynamic dimension methods, so we need to handle this when accessing the method to compute the desired number of time steps for the chunk size. The chunksize argument in the api is also passed when no data is passed.
When we pass a too large chunksize to read_as_traj function of mdtraj, this would overflow memory. So we truncate it.
Codecov Report
@@ Coverage Diff @@
## devel #1251 +/- ##
=========================================
+ Coverage 91.19% 91.2% +<.01%
=========================================
Files 219 219
Lines 23646 23709 +63
=========================================
+ Hits 21565 21624 +59
- Misses 2081 2085 +4
Continue to review full report at Codecov.
|
[coordinates/lagged iterator] skip over trajectories that are shorter…
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PCA, TICA and VAMP have dynamic dimension methods, so we need to handle
this when accessing the method to compute the desired number of time
steps for the chunk size.
The chunksize argument in the api is also passed when no data is passed.
For the FeatureReader we need to cap the passed chunksize, because we are using low-level reading routines of mdtraj.
@euhruska I'd be happy if you can run a test with your massive data set. I have tested it locally on some huge data set, but the more tests we run, the more problems we can possibly detect. Thank you in advance!
Fixes #1250