mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #15474 from ElectronicBlueberry/strip-edam-quotes
[23.0] Strip EDAM Quotes
This commit is contained in:
@@ -65,7 +65,7 @@ def load_edam_tree_from_tsv_stream(tsv_stream: TextIO, *included_terms: str):
|
||||
|
||||
parents = fields[parents_column].split("|")
|
||||
edam[term_id] = {
|
||||
"label": fields[label_column],
|
||||
"label": fields[label_column].strip('"'),
|
||||
"definition": fields[definition_column].strip('"'),
|
||||
"parents": [x[len(EDAM_PREFIX) :] for x in parents if x.startswith(EDAM_PREFIX)],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user