Closed jiaola closed 3 years ago
When parsing a file with slots having both a key and identifier, it needs to raise the value exception catching it. See https://github.com/biolink/biolinkml/blob/master/tests/test_utils/input/loadererror8.yaml and https://github.com/biolink/biolinkml/blob/master/tests/test_utils/input/loadererror9.yaml
The testcase is at https://github.com/biolink/biolinkml/blob/master/tests/test_utils/test_schemaloader.py, see function test_key_and_id
Note that issue #211 will be dropping "key" from the model completely
When parsing a file with slots having both a key and identifier, it needs to raise the value exception catching it. See https://github.com/biolink/biolinkml/blob/master/tests/test_utils/input/loadererror8.yaml and https://github.com/biolink/biolinkml/blob/master/tests/test_utils/input/loadererror9.yaml