salilab / IHMValidation

Validation software for integrative models deposited to PDB
MIT License
2 stars 2 forks source link

Don't generate html pages if the data is missing #71

Open aozalevsky opened 4 months ago

aozalevsky commented 4 months ago

Right now the write_html function

https://github.com/salilab/IHMValidation/blob/abbf6b3b43cca5653f30328006a4cceb4d8a2fbb/ihm_validation/ihm_validator.py#L204

simply iterates over the list of templates

https://github.com/salilab/IHMValidation/blob/abbf6b3b43cca5653f30328006a4cceb4d8a2fbb/ihm_validation/ihm_validator.py#L136-L144

and generates all pages even if data (like SAS or CX validation) isn't available.

There has to be a set of additional checks/switches controlling that behavior.