MetabolicAtlas / data-generation

Process the raw data-files for ingestion into the Neo4j database
MIT License
0 stars 0 forks source link

undefined metadataSection in error message #30

Closed nanjiangshu closed 2 years ago

nanjiangshu commented 2 years ago

Bug Description

When a component is not found in the maplisting, an error message should show which component is missing. However, since the variable metadataSection is not passed from the parent function, the parser just throw the error about undefined metadataSection, but the actual missing component is not shown.

Expected behavior The variable metadataSection be passed from the parent function and the missing component is displayed

Note The information of the missing component is important when updating the model. Data generation will fail if a map does not exist in the new model.