Skip to content

Commit

Permalink
Smw excluded mercury dev (#205)
Browse files Browse the repository at this point in the history
* quality exclusion write out

* terrafied

* quick fix

Co-authored-by: kevinlibuit <[email protected]>
  • Loading branch information
sage-wright and kevinlibuit authored Dec 30, 2022
1 parent e58e34b commit e492dec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/task_mercury_file_wrangling.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ task sm_metadata_wrangling { # the sm stands for supermassive
quality_exclusion = pd.DataFrame()
for index, row in table.iterrows():
if ("VADR skipped due to poor assembly") in row["vadr_num_alerts"]:
if ("VADR skipped due to poor assembly") in str(row["vadr_num_alerts"]):
notification = "VADR skipped due to poor assembly"
quality_exclusion = quality_exclusion.append({"sample_name": row["~{table_name}_id".lower()], "message": notification}, ignore_index=True)
elif int(row["vadr_num_alerts"]) > ~{vadr_alert_limit}:
Expand Down Expand Up @@ -441,7 +441,7 @@ task sm_metadata_wrangling { # the sm stands for supermassive
CODE
echo "DEBUG: performing file transfers and manipulations"
# this version of gsutil only works on python2.7
export CLOUDSDK_PYTHON=python2.7
Expand Down

0 comments on commit e492dec

Please sign in to comment.