nf-osi / nf-metadata-dictionary

Versioned releases of the NF metadata dictionary.
https://nf-osi.github.io/nf-metadata-dictionary/
Creative Commons Zero v1.0 Universal
3 stars 2 forks source link

Update workflow to generate pickle file using schematic #517

Open anngvu opened 2 months ago

anngvu commented 2 months ago

According to upcoming schematic release notes for their feature https://sagebionetworks.jira.com/browse/FDS-1795, providing a graph pickle file may speed up some things through skipping model re-parsing. This is more important for larger models like HTAN, but providing a pickle can help test how much of a difference it makes for NF.

Since the CLI does not have parity yet (schematic schema convert does not convert to pickle), use the API: https://schematic.api.sagebionetworks.org/v1/ui/#/Schema%20Operation/schematic_api.api.routes.get_schema_pickle