diff --git a/depot/prepare.py b/depot/prepare.py index b7edd05..dd4a19e 100755 --- a/depot/prepare.py +++ b/depot/prepare.py @@ -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")