Skip to content

Commit

Permalink
multiple metric selection
Browse files Browse the repository at this point in the history
  • Loading branch information
GDKO committed Oct 3, 2022
1 parent 313503f commit ef3f913
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions depot/prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ def main():
trimal_options = config_opts["trimal_options"]

# turn selection into condition
selection = selection.replace("ai","int(row[i_ai])>"+str(ai_cutoff))
selection = selection.replace("ahs","int(row[i_ahs])>"+str(ahs_cutoff))
selection = selection.replace("outg_pct","int(row[i_pct])>"+str(pct_cutoff))
selection = selection.replace("ai","float(row[i_ai])>"+str(ai_cutoff))
selection = selection.replace("ahs","float(row[i_ahs])>"+str(ahs_cutoff))
selection = selection.replace("outg_pct","float(row[i_pct])>"+str(pct_cutoff))

if trim:
check_programs("trimal")
Expand Down

0 comments on commit ef3f913

Please sign in to comment.