Skip to content

Commit

Permalink
added regex for cleaning study data
Browse files Browse the repository at this point in the history
  • Loading branch information
ens-ftricomi committed Oct 21, 2024
1 parent c3be8ad commit ab619b6
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 @@ -143,8 +143,8 @@ def json_parse(response: str, fields: list):

table_study = {
"study": {
"study_accession": output_data["study_accession"],
"center_name": output_data["center_name"],
"study_accession": re.sub(r"[!\"#$%&()*\+,\-\'.\/:;<=>?@\[\]^`{|}~]", "",output_data["study_accession"]),
"center_name": re.sub(r"[!\"#$%&()*\+,\-\'.\/:;<=>?@\[\]^`{|}~]", "",output_data["center_name"]),
}
}

Expand Down

0 comments on commit ab619b6

Please sign in to comment.