Skip to content

Commit be6985f

Browse files
committed
remove unnecesary write df
1 parent 032c270 commit be6985f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

bin/utils/module_data_processing.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import pandas as pd
88

99
from utils.constant_variables import BLAST_COLUMNS, CONSTRAINT_GENERAL_STATS_COLUMNS, COLUMN_MAPPING
10-
from utils.file_tools import filelist_to_df,write_df
10+
from utils.file_tools import filelist_to_df
1111
from utils.pandas_tools import (
1212
coalesce_constraint,
1313
drop_columns,
@@ -279,8 +279,6 @@ def reformat_constraint_df(df, file_columns, args):
279279

280280
# drop unwanted columns & reorder
281281
constraint_meta = drop_columns(constraint_meta, ["sequence", "samples"])
282-
write_df(df, "df.tsv")
283-
write_df(constraint_meta, "constraint.tsv")
284282
df = df.merge(constraint_meta, how="left", left_on="cluster", right_on="id")
285283
df = reorder_columns(
286284
df,

0 commit comments

Comments
 (0)