File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ def flatten_classification(classifications):
16
16
for classification in classifications :
17
17
if classification .feature_schema_id is None :
18
18
raise ValueError (
19
- f"feature_schema_id is None for classification `{ classification .name } `."
19
+ f"feature_schema_id cannot be None for classification `{ classification .name } `."
20
20
)
21
21
if isinstance (classification , ontology .Classification ):
22
22
classification_lookup [
@@ -34,7 +34,7 @@ def flatten_classification(classifications):
34
34
for tool in ontology_builder .tools :
35
35
if tool .feature_schema_id is None :
36
36
raise ValueError (
37
- f"feature_schema_id is None for tool `{ tool .name } `." )
37
+ f"feature_schema_id cannot be None for tool `{ tool .name } `." )
38
38
tool_lookup [tool .name ] = tool .feature_schema_id
39
39
flatten_classification (tool .classifications )
40
40
flatten_classification (ontology_builder .classifications )
You can’t perform that action at this time.
0 commit comments