Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability for 'datafilter' command to modify data sets. #809

Merged
merged 8 commits into from
Apr 10, 2020

Conversation

drroe
Copy link
Contributor

@drroe drroe commented Apr 8, 2020

Previously, the datafilter command only generated sets with 1 for cutoffs satisfied and 0 otherwise. Now cpptraj has new keywords that allow one to modify a data set to only contain data satisfying the cutoffs:

filterset <set> [newset <newname>]
  If 'filterset' is specified, the specified <set> will be modified
  to only contain '1' frames; cannot be used with 'multi'. If 'newset'
  is also specified, a new set will be created containing the '1' frames instead.

This currently only works for scalar 1D sets. Test added and manual updated.

@drroe drroe self-assigned this Apr 8, 2020
@swails
Copy link
Contributor

swails commented Apr 9, 2020

run jenkins

@drroe drroe merged commit 080fac5 into Amber-MD:master Apr 10, 2020
@drroe drroe deleted the datafilter branch April 10, 2020 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants