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

Report an error if no fits are provided for a restraint #20

Open
benmwebb opened this issue Sep 21, 2018 · 0 comments
Open

Report an error if no fits are provided for a restraint #20

benmwebb opened this issue Sep 21, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@benmwebb
Copy link
Contributor

If the user did not provide any model-to-restraint fits for a given restraint, this is a probably a user error and the dumper should report about it (since this means the restraint wasn't used anywhere). With some restraints that use a single table (such as ihm_sas_restraint) having no fits means that the restraint won't be recorded in the mmCIF file at all. (Other restraints are split into a restraint info table like ihm_2dem_class_average_restraint and a fit table like ihm_2dem_class_average_fitting, so at least the info table will still be written even if no fits are available.)

@benmwebb benmwebb added the enhancement New feature or request label Sep 21, 2018
@benmwebb benmwebb self-assigned this Sep 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant