Skip to content

Commit

Permalink
Fix: Remove forked column from output: fork module
Browse files Browse the repository at this point in the history
  • Loading branch information
dileep-kishore committed Nov 8, 2021
1 parent 2690001 commit 024e6ab
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def main(otu_file: str, axis: str, column: str):
folder.mkdir(exist_ok=True)
filter_fun = lambda values, id_, md: True if any(values > 0.0) else False
for label, split_otu in split_results:
split_otu.otu_data.del_metadata(keys=[COLUMN], axis=AXIS)
split_otu.filter(func=filter_fun, axis="observation")
if label == "":
split_otu.write(ID_, fol_path=str(folder))
Expand Down

0 comments on commit 024e6ab

Please sign in to comment.