hAMRonization icon indicating copy to clipboard operation
hAMRonization copied to clipboard

Obtain specification field data information from JSON schema

Open cimendes opened this issue 4 years ago • 1 comments

In the hAMRonizedResult class definition, the field terms for the parsers, and their value types, should be obtained from the schema JSON file and not be hardcoded into the tool. The necessary file is already provided in the schema/ directory. A parser should be included to retrieve this information directly from the file, facilitating the update of the field terms when necessary.

⬇️ https://github.com/pha4ge/hAMRonization/blob/master/hAMRonization/hAMRonizedResult.py#L13-L52

cimendes avatar Jan 04 '22 17:01 cimendes

My dream lives on... in the lowest priority setting

cimendes avatar Feb 24 '22 17:02 cimendes