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):
1616 for classification in classifications :
1717 if classification .feature_schema_id is None :
1818 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 } `."
2020 )
2121 if isinstance (classification , ontology .Classification ):
2222 classification_lookup [
@@ -34,7 +34,7 @@ def flatten_classification(classifications):
3434 for tool in ontology_builder .tools :
3535 if tool .feature_schema_id is None :
3636 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 } `." )
3838 tool_lookup [tool .name ] = tool .feature_schema_id
3939 flatten_classification (tool .classifications )
4040 flatten_classification (ontology_builder .classifications )
You can’t perform that action at this time.
0 commit comments