microbiomedata / sheets_and_friends

Enhance a LinkML model with imported and optionally modified slots
0 stars 0 forks source link

`gen-python` errors out on submission schema #165

Closed sujaypatil96 closed 1 year ago

sujaypatil96 commented 1 year ago

Running gen-python on the submission schema YAML in this repo: https://github.com/microbiomedata/sheets_and_friends/blob/main/artifacts/nmdc_submission_schema.yaml gives us an error:

$ gen-python schema/nmdc_submission_schema.yaml > schema/nmdc_submission_schema.py

WARNING:Namespaces:mixs namespace is already mapped to https://w3id.org/mixs/terms/ - Mapping to https://w3id.org/mixs/ ignored
IndexError: string index out of range
pkalita-lbl commented 1 year ago

Submission schema is now here https://github.com/microbiomedata/submission-schema and includes Python artifacts. Closing.