You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently unable to import AnSRS model directly in bke_taxonomy model.
Note: This is an error with schemasheets. If I add import: anatomical_structure in the yaml file, the pydantic generation works as expected; however, if I add the import in the google spreadsheet, schemasheets has an error.
Need to debug this error :
sys.exit(cli())
^^^^^
File "/Users/pujatrivedi/anaconda3/envs/test_bkbit_20241127/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/pujatrivedi/anaconda3/envs/test_bkbit_20241127/lib/python3.11/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/Users/pujatrivedi/anaconda3/envs/test_bkbit_20241127/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/pujatrivedi/anaconda3/envs/test_bkbit_20241127/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/pujatrivedi/anaconda3/envs/test_bkbit_20241127/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/pujatrivedi/Desktop/MIT/test_bkbit_20241127/bkbit/bkbit/model_converters/sheets_converter.py", line 284, in schema2model
schema = schema_maker.repair_schema(schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/pujatrivedi/anaconda3/envs/test_bkbit_20241127/lib/python3.11/site-packages/schemasheets/schemamaker.py", line 596, in repair_schema
map_ix = sv.get_mappings(e.name)
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/pujatrivedi/anaconda3/envs/test_bkbit_20241127/lib/python3.11/site-packages/linkml_runtime/utils/schemaview.py", line 1186, in get_mappings
'self': [self.get_uri(element_name, imports=imports, expand=False)],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/pujatrivedi/anaconda3/envs/test_bkbit_20241127/lib/python3.11/site-packages/linkml_runtime/utils/schemaview.py", line 1094, in get_uri
schema = self.schema_map[self.in_schema(e.name)]
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'anatomical-structure-schema'
The text was updated successfully, but these errors were encountered:
Currently unable to import AnSRS model directly in bke_taxonomy model.
Note: This is an error with schemasheets. If I add import: anatomical_structure in the yaml file, the pydantic generation works as expected; however, if I add the import in the google spreadsheet, schemasheets has an error.
Need to debug this error :
The text was updated successfully, but these errors were encountered: