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

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

Open
aozalevsky opened this issue Feb 22, 2024 · 0 comments
Open

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

aozalevsky opened this issue Feb 22, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@aozalevsky
Copy link
Contributor

Right now the write_html function

def write_html(mmcif_file: str, template_dict: dict, template_list: list, dirName: str):

simply iterates over the list of templates

template_flask = [
"main.html",
"data_quality.html",
"model_quality.html",
"model_composition.html",
"formodeling.html",
# "about_validation.html",
# "validation_help.html",
]

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.

@aozalevsky aozalevsky added the enhancement New feature or request label Feb 22, 2024
@aozalevsky aozalevsky self-assigned this Feb 22, 2024
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