Skip to content

Commit

Permalink
Revert "fix(susie_finemapper): correct syntax for saving the logs df (#…
Browse files Browse the repository at this point in the history
…625)"

This reverts commit 5ccfd76.
  • Loading branch information
Szymon Szyszkowski committed Jul 12, 2024
1 parent 0f31ad0 commit a3200f0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/gentropy/susie_finemapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,8 @@ def __init__(
output_path + "/" + study_locus_to_finemap
)
# Write log
result_logging["log"].to_parquet(
output_path_log + "/" + study_locus_to_finemap + ".parquet",
engine="pyarrow",
index=False
result_logging["log"].df.write.mode(session.write_mode).parquet(
output_path_log + "/" + study_locus_to_finemap
)
else:
result = self.susie_finemapper_ss_gathered(
Expand Down

0 comments on commit a3200f0

Please sign in to comment.