Closed puja-trivedi closed 4 months ago
Attention: 3 lines
in your changes are missing coverage. Please review.
Comparison is base (
51d2fce
) 62.80% compared to head (a959a20
) 62.90%. Report is 5 commits behind head on main.
Files | Patch % | Lines |
---|---|---|
linkml_runtime/utils/schemaview.py | 0.00% | 3 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
When using the functions delete_enum, delete_slot, and delete_subset I was getting these errors:
AttributeError: 'SchemaDefinition' object has no attribute 'enumes'.
Which traces back to line 1663, in delete_enum:
del self.schema.enumes[enum_name]
2.
AttributeError: 'SchemaDefinition' object has no attribute 'slotes'.
Which traces back to line 1655, in delete_slot:del self.schema.slotes[slot_name]
AttributeError: 'SchemaDefinition' object has no attribute 'subsetes'.
Which traces back to line 1679, in delete_subset:del self.schema.subsetes[subset_name]
When I change enumes to enums, slotes to slots, and subsetes to subsets the functions seem to work as expected.