Skip to content

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

@aozalevsky

Description

@aozalevsky

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions