{% for values in answers.workflow.values %}
{# Include Interdisciplinary Workflow Name #}
{% include "MaRDMO/partials/_name.html" with class="INTERDISCIPLINARY WORKFLOW" counter=forloop.counter name=values.Name prefix="IW" %}
{# Include Interdisciplinary Workflow Short Description #}
{% include "MaRDMO/partials/_short_description.html" with class="INTERDISCIPLINARY WORKFLOW" description=values.Description name=values.Name %}
{# Include Interdisciplinary Workflow Detailed Description #}
{% include "MaRDMO/partials/_detailed_description.html" with detailed_descriptions=values.descriptionLong %}
{# Include Interdisciplinary Workflow ID #}
{% include "MaRDMO/partials/_id.html" with class="INTERDISCIPLINARY WORKFLOW" id=values.ID %}
{# Include Interdisciplinary Workflow research Objective #}
{% include "MaRDMO/partials/_research_objective.html" with objective=values.objective %}
{% if values.model_task_pairs %}
{# Include Mathematical Models and Tasks #}
{% include "MaRDMO/partials/_model_and_task.html" with pairs=values.model_task_pairs %}
{% endif %}
{# Include Block for single Relation between Workflow and Step #}
{% include "MaRDMO/partials/_relation_block_single.html" with anchor="IW2PS" title="Process Steps" relation="contains" relatants=values.RelationPS class="PROCESS STEP" empty_msg="True" %}
{# Include Mathematical Reproducibility #}
{% include "MaRDMO/partials/_reproducibility.html" with anchor="mathematical-reproducibility" title="Mathematical Reproducibility" value=values.mathematical %}
{# Include Runtime Reproducibility #}
{% include "MaRDMO/partials/_reproducibility.html" with anchor="runtime-reproducibility" title="Runtime Reproducibility" value=values.runtime %}
{# Include Reproducibility of Results #}
{% include "MaRDMO/partials/_reproducibility.html" with anchor="reproducibility-of-results" title="Reproducibility of Results" value=values.result %}
{# Include Reproducibility on original Platform #}
{% include "MaRDMO/partials/_reproducibility.html" with anchor="reproducibility-on-original-platform" title="Reproducibility on original Hardware or Instrument" value=values.originalplatform %}
{# Include Reproducibility on other Platform #}
{% include "MaRDMO/partials/_reproducibility.html" with anchor="reproducibility-on-other-platform" title="Reproducibility on other Hardware or Instrument" value=values.otherplatform %}
{# Include Transferability Statements #}
{% include "MaRDMO/partials/_transferability.html" with transferability=values.transferability.values %}
{# Include Block for multiple Relations between Workflow and Workflow #}
{% include "MaRDMO/partials/_relation_block_multiple.html" with anchor="IW2IW" title="Interdisciplinary Workflows" relations=values.RelationWF class="INTERDISCIPLINARY WORKFLOW" empty_msg="False" %}
{% empty %}
NO WORKFLOW DOCUMENTED
{% endfor %}
Process Step
{% for values in answers.processstep.values %}
{# Include Process Step Name #}
{% include "MaRDMO/partials/_name.html" with class="PROCESS STEP" counter=forloop.counter name=values.Name prefix="PS" %}
{# Include Process Step Short Description #}
{% include "MaRDMO/partials/_short_description.html" with class="PROCESS STEP" description=values.Description name=values.Name %}
{# Include Process Step ID #}
{% include "MaRDMO/partials/_id.html" with class="PROCESS STEP" id=values.ID %}
{# Include Block for single Relation between Process Step and Input Data Set #}
{% include "MaRDMO/partials/_relation_block_single.html" with anchor="PS2IDS" title="Input Data Sets" relation="input data set" relatants=values.RelationIDS class="INPUT DATA SET" empty_msg="True" %}
{# Include Block for single Relation between Process Step and Output Data Set #}
{% include "MaRDMO/partials/_relation_block_single.html" with anchor="PS2ODS" title="Output Data Sets" relation="output data set" relatants=values.RelationODS class="OUTPUT DATA SET" empty_msg="True" %}
{# Include Block for Relation between Process Step and Algorithm (only when documented) #}
{% if values.algorithm_software_pairs %}
{% include "MaRDMO/partials/_relation_block_single_with_qualifier.html" with anchor="PS2A" primary_class="ALGORITHM" qualifier_class="SOFTWARE" pairs=values.algorithm_software_pairs title="Algorithms" primary_label="uses" primary_missing="MISSING ALGORITHM" qualifier_missing="MISSING PLATFORM" qualifier_env_label="Software-Environment" doc_label="Software-Requirements" has_sections=True show_hardware=True show_empty_msg="MISSING ALGORITHM, SOFTWARE, HARDWARE AND SOFTWARE REQUIREMENTS" %}
{% endif %}
{# Include Block for Relation between Process Step and Method (only when documented) #}
{% if values.method_instrument_pairs %}
{% include "MaRDMO/partials/_relation_block_single_with_qualifier.html" with anchor="PS2M" primary_class="EXPERIMENTAL METHOD" qualifier_class="EXPERIMENTAL EQUIPMENT" pairs=values.method_instrument_pairs title="Methods" primary_label="uses" primary_missing="MISSING METHOD" qualifier_missing="MISSING INSTRUMENT" qualifier_env_label="Instrument-Environment" doc_label="Method-Protocol" show_empty_msg="MISSING METHOD, INSTRUMENT AND METHOD PROTOCOL" %}
{% endif %}
{# Include Block for single Relation between Process Step and Academic Discipline without Section #}
{% include "MaRDMO/partials/_relation_block_single_without_section.html" with anchor="PS2AD" title="Academic Disciplines" relation="field of work" relatants=values.RFRelatant class="ACADEMIC DISCIPLINE" empty_msg="True" %}
{% empty %}
NO STEP DOCUMENTED
{% endfor %}
Algorithm
{% for values in answers.algorithm.values %}
{# Include Algorithm Name #}
{% include "MaRDMO/partials/_name.html" with class="ALGORITHM" counter=forloop.counter name=values.Name prefix="A" %}
{# Include Algorithm Short Description #}
{% include "MaRDMO/partials/_short_description.html" with class="ALGORITHM" description=values.Description name=values.Name %}
{# Include Algorithm ID #}
{% include "MaRDMO/partials/_id.html" with class="ALGORITHM" id=values.ID %}
{# Include Block for single Relation between Algorithm and Algorithmic Task without Section #}
{% include "MaRDMO/partials/_relation_block_single_without_section.html" with anchor="A2AD" title="Algorithmic Tasks" relation="solves" relatants=values.PRelatant class="ALGORITHMIC TASK" empty_msg="True" %}
{# Include Block for single Relation between Algorithm and Software #}
{% include "MaRDMO/partials/_relation_block_single.html" with anchor="A2S" title="Softwares" relation="implemented by" relatants=values.RelationS class="SOFTWARE" empty_msg="True" %}
{% empty %}
NO ALGORITHM DOCUMENTED
{% endfor %}
Software
{% for values in answers.software.values %}
{# Include Software Name #}
{% include "MaRDMO/partials/_name.html" with class="SOFTWARE" counter=forloop.counter name=values.Name prefix="S" %}
{# Include Software Short Description #}
{% include "MaRDMO/partials/_short_description.html" with class="SOFTWARE" description=values.Description name=values.Name %}
{% include "MaRDMO/partials/_reference_block.html" with references=values.reference id_option=option.SWMATH id_label="swMath ID" missing_msg="MISSING SOFTWARE REFERENCE" ref_desc_url_valid=values.ref_desc_url_valid ref_repo_url_valid=values.ref_repo_url_valid %}
{# Include Software ID #}
{% include "MaRDMO/partials/_id.html" with class="SOFTWARE" id=values.ID %}
{# Include Block for single Relation between Software and Programming Language without Section #}
{% include "MaRDMO/partials/_relation_block_single_without_section.html" with anchor="S2PL" title="Programming Languages" relation="programmed in" relatants=values.programminglanguage class="PROGRAMMING LANGUAGE" %}
{# Include Block for single Relation between Software and Software Dependencies without Section #}
{% include "MaRDMO/partials/_relation_block_single.html" with anchor="S2SD" title="Software" relation="depends of software" relatants=values.RelationS class="SOFTWARE" empty_msg="False" %}
{% empty %}
NO SOFTWARE DOCUMENTED
{% endfor %}
Hardware
{% for values in answers.hardware.values %}
{# Include Hardware Name #}
{% include "MaRDMO/partials/_name.html" with class="HARDWARE" counter=forloop.counter name=values.Name prefix="HW" %}
{# Include Hardware Short Description #}
{% include "MaRDMO/partials/_short_description.html" with class="HARDWARE" description=values.Description name=values.Name %}
{# Include Hardware ID #}
{% include "MaRDMO/partials/_id.html" with class="HARDWARE" id=values.ID %}
{# Include Hardware Number of Compute Nodes #}
{% if values.nodes %}
{% if values.nodes_valid %}
Number of Compute Nodes: {{ values.nodes }}
{% else %}
Number of Compute Nodes:INVALID COMPUTE NODES VALUE
{% endif %}
{% else %}
Number of Compute Nodes:NUMBER OF COMPUTE NODES MISSING
{% endif %}
{# Include CPU List #}
CPUs of the Hardware
{% if values.cpu_entries %}
{% for cpu in values.cpu_entries %}
{{ forloop.counter }}.
{% if cpu.id and cpu.id != 'not found' %}
CPU: {{ cpu.id }}
{% else %}
{% if cpu.name %}
CPU: {{ cpu.name }}
{% else %}
CPU:MISSING CPU NAME
{% endif %}
{% if not cpu.description %}
(MISSING CPU SHORT DESCRIPTION)
{% elif cpu.description|length > 250 %}
({{ cpu.description }}) CPU SHORT DESCRIPTION TOO LONG
{% elif cpu.description == cpu.name %}
({{ cpu.description }}) CPU NAME AND SHORT DESCRIPTION MUST BE DIFFERENT
{% else %}
({{ cpu.description }})
{% endif %}
{% endif %}
-> Occurrence in Hardware:
{% if cpu.count %}
{% if cpu.count_valid %}
{{ cpu.count }}
{% else %}
INVALID OCCURRENCE VALUE
{% endif %}
{% else %}
MISSING OCCURRENCE
{% endif %}
-> Number of Processor Cores:
{% if cpu.cores %}
{% if cpu.cores_valid %}
{{ cpu.cores }}
{% else %}
INVALID PROCESSOR CORES VALUE
{% endif %}
{% else %}
MISSING PROCESSOR CORES
{% endif %}
{% endfor %}
{% else %}
NO CPU DOCUMENTED
{% endif %}
{% empty %}
NO HARDWARE DOCUMENTED
{% endfor %}
Data Set
{% for values in answers.dataset.values %}
{# Include Data Set Name #}
{% include "MaRDMO/partials/_name.html" with class="DATA SET" counter=forloop.counter name=values.Name prefix="DS" %}
{# Include Data Set Short Description #}
{% include "MaRDMO/partials/_short_description.html" with class="DATA SET" description=values.Description name=values.Name %}
{# Include Data Set ID #}
{% include "MaRDMO/partials/_id.html" with class="DATA SET" id=values.ID %}
{# Include Data Set Size #}
Data Size:
{% if values.Size.0 == option.kilobyte or values.Size.0 == option.megabyte or values.Size.0 == option.gigabyte or values.Size.0 == option.terabyte or values.Size.0 == option.items %}
{% if values.Size.1 %}
{% if values.size_value_valid %}
{% if values.Size.0 == option.kilobyte %}
{{ values.Size.1 }} kilobyte
{% elif values.Size.0 == option.megabyte %}
{{ values.Size.1 }} megabyte
{% elif values.Size.0 == option.gigabyte %}
{{ values.Size.1 }} gigabyte
{% elif values.Size.0 == option.terabyte %}
{{ values.Size.1 }} terabyte
{% elif values.Size.0 == option.items %}
{{ values.Size.1 }} items
{% endif %}
{% else %}
INVALID DATA SIZE VALUE
{% endif %}
{% else %}
MISSING DATA SIZE VALUE
{% endif %}
{% else %}
MISSING DATA SIZE
{% endif %}
{# Include Data Set File Format #}
File Format:
{% if values.FileFormat %}
{{ values.FileFormat }}
{% else %}
MISSING FILE FORMAT
{% endif %}
{# Include Data Set Type #}
Data Set Type:
{% if values.BinaryText == option.binary %}
binary
{% elif values.BinaryText == option.text %}
text
{% else %}
MISSING DATA SET TYPE
{% endif %}
{# Include Data Set Proprietary #}
Data Set Proprietary:
{% if values.Proprietary == option.Yes %}
Yes
{% elif values.Proprietary == option.No %}
No
{% else %}
MISSING DATA SET PROPRIETARY
{% endif %}
{# Include Data Set Publication #}
Data Set Publication:
{% if values.ToPublish.0 == option.YesText %}
{% if values.ToPublish.1 %}
Yes ({{ values.ToPublish.1 }}{% if values.publish_url_valid == False %} INVALID URL FORMAT{% endif %})
{% else %}
Yes
{% endif %}
{% elif values.ToPublish.0 == option.NoText %}
No
{% else %}
MISSING DATA SET PUBLICATION STATEMENT
{% endif %}
{# Include Data Set Archiving #}
Data Set Archiving:
{% if values.ToArchive.0 == option.YesText %}
{% if values.ToArchive.1 %}
{% if values.archive_year_valid %}
Yes ({{ values.ToArchive.1 }})
{% else %}
Yes (INVALID ARCHIVAL YEAR)
{% endif %}
{% else %}
Yes, MISSING ARCHIVAL YEAR
{% endif %}
{% elif values.ToArchive.0 == option.NoText %}
No
{% else %}
MISSING DATA SET ARCHIVAL STATEMENT
{% endif %}
{% empty %}
NO DATA SET DOCUMENTED
{% endfor %}
Publications
{% for values in answers.publication.values %}
{# Include Publication Name #}
{% include "MaRDMO/partials/_name.html" with class="PUBLICATION" counter=forloop.counter name=values.Name prefix="P" %}
{% for reference in values.reference.values %}
{% if reference.0 == option.DOI %}
DOI: {{ reference.1 }}
{% endif %}
{% empty %}
{% if 'not found' in values.ID %}
MISSING PUBLICATION DOI
{% endif %}
{% endfor %}
{# Include Publication ID #}
{% include "MaRDMO/partials/_id.html" with id=values.ID %}
{% if values.RelationHS or values.RelationA or values.RelationP %}
{# Include Block for multiple Relations between Publication and Algorithm #}
{% include "MaRDMO/partials/_relation_block_multiple.html" with anchor="P2A" title="Algorithms" relations=values.RelationA class="ALGORITHM" empty_msg="False" %}
{# Include Block for multiple Relations between Publication and Hardwae or Software #}
{% include "MaRDMO/partials/_relation_block_multiple.html" with anchor="P2HS" title="Hardware or Software" relations=values.RelationHS class="HARDWARE OR SOFTWARE" empty_msg="False" %}
{# Include Block for multiple Relations between Publication and remaining Workflow Entities #}
{% include "MaRDMO/partials/_relation_block_multiple.html" with anchor="P2E" title="Inerdisciplinary Workflows, Process Steps, or Data Sets" relations=values.RelationP class="INTERDISCIPLINARY WORKFLOW, PROCESS STEP, OR DATA SET" empty_msg="False" %}
{% else %}
MISSING PUBLICATION to ALGORITHM, BENCHMARK, OR SOFTWARE RELATION
{% endif %}
{% empty %}
NO PUBLICATION DOCUMENTED
{% endfor %}