Skip to content

Commit 61c23fe

Browse files
committed
Fix for when checkm is not run for some bins
1 parent a2afa5e commit 61c23fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/combine_tables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def main(args=None):
138138
]
139139
checkm_results = pd.read_csv(args.binqc_summary, usecols=use_columns, sep="\t")
140140
checkm_results["Bin Id"] = checkm_results["Bin Id"] + ".fa"
141-
if not bins.equals(checkm_results["Bin Id"].sort_values().reset_index(drop=True)):
141+
if not set(checkm_results["Bin Id"]).issubset(set(bins)):
142142
sys.exit("Bins in CheckM summary do not match bins in bin depths summary!")
143143
results = pd.merge(
144144
results, checkm_results, left_on="bin", right_on="Bin Id", how="outer"

0 commit comments

Comments
 (0)