Skip to content

Commit

Permalink
tissue name lower
Browse files Browse the repository at this point in the history
  • Loading branch information
ens-ftricomi committed Aug 12, 2024
1 parent 8b55ff9 commit 0c44b94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pipelines/nextflow/workflows/bin/get_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ def json_parse(response: str, fields: list):
"tissue": "; ".join(
value
for value in [
re.sub(r"[!\"#$%&()*\+,\-\'.\/:;<=>?@\[\]^`{|}~]", "", output_data["tissue_type"]),
re.sub(r"[!\"#$%&()*\+,\-\'.\/:;<=>?@\[\]^`{|}~]", "", output_data["tissue_lib"]),
re.sub(r"[!\"#$%&()*\+,\-\'.\/:;<=>?@\[\]^`{|}~]", "", output_data["tissue_type"]).lower(),
re.sub(r"[!\"#$%&()*\+,\-\'.\/:;<=>?@\[\]^`{|}~]", "", output_data["tissue_lib"]).lower(),
]
if value != ""
).rstrip("; "),
Expand Down

0 comments on commit 0c44b94

Please sign in to comment.