-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1482 from dandi/bf-1481
BF: use correct variable in exception upon unknown how to handle value of "species"
- Loading branch information
Showing
2 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -474,7 +474,7 @@ def extract_species(metadata: dict) -> models.SpeciesType | None: | |
break | ||
if value_id is None: | ||
raise ValueError( | ||
f"Cannot interpret species field: {value}. Please " | ||
f"Cannot interpret species field: {value_orig}. Please " | ||
"contact [email protected] to add your species. " | ||
"You can also put the entire url from NCBITaxon " | ||
"(http://www.ontobee.org/ontology/NCBITaxon) into " | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters