Skip to content

Commit

Permalink
Fix quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
Lev Levitsky committed Oct 8, 2024
1 parent a9a3d45 commit 5aa8c42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdrf_pipelines/sdrf/sdrf_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def ontology_term_parser(cell_value: str = None):
value_terms = name.split("=", 1)
if len(value_terms) == 1:
raise ValueError("Not a key-value pair: " + name)
if "=" in value_terms[1] and value_terms[0].lower() != 'cs':
if "=" in value_terms[1] and value_terms[0].lower() != "cs":
raise ValueError(
f"Invalid term: {name} after splitting by '=', please check the prefix (e.g. AC, NT, " f"TA..)"
)
Expand Down

0 comments on commit 5aa8c42

Please sign in to comment.