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 some assertions that are helpful for trouble shooting. #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Amplifier-seller
Copy link

1. Checking input CV files

If there got a problem in the input CV files, these commits allow rid-kit to transmit the raw error messages produced by PLUMED to users for debug.
Rid-kit provides little corresponding information in the workflow log file and only records a "CUDA error #1" in the gmx log. The check.py called by the newly added assertion parses the CV files with PLUMED in advance to ensure their validity and facilitating trouble-shooting.

2. Assertions about trust_lvl_1 and std_threshold

Too large trust_lvl_1 and too small std_threshold may emit all the data points from the training set and interrupt the workflow. When this happens, these assertions allow rid-kit to inform users to adjust the parameters.

1. add check.py in utils: parse the input cv files with PLUMED before running the workflow.
2. add assertions in submit.py and run_select.py to ensure the trust_lvl_1 and std_threshold to be suitable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant