Skip to content

Commit

Permalink
removes saving df (was for debugging)
Browse files Browse the repository at this point in the history
  • Loading branch information
casperlk committed Feb 26, 2024
1 parent 5785e1f commit 712a9b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions seismic_graph/study.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ def __init__(self, data=None, min_cov=0, filter_by="sample") -> None:
df = pd.concat(
[df, pd.DataFrame(flatten_json(sort_dict(sample)))], axis=0
)
df.to_csv('/Users/casper/Documents/output/initial_df.csv', index=False)
# df.to_csv('/Users/casper/Documents/output/initial_df.csv', index=False)
df = all_pos(df)
df = remove_leading_pound(df)
if "min_cov" not in df.columns:
df = add_min_cov_field(df)
df.to_csv('/Users/casper/Documents/output/processed_df.csv', index=False)
# df.to_csv('/Users/casper/Documents/output/processed_df.csv', index=False)
# Use the dataframe (loaded or created from json)
self.set_df(df, min_cov=min_cov, filter_by=filter_by)

Expand Down

0 comments on commit 712a9b9

Please sign in to comment.