Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions champss/folding/folding/fold.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def plot(self, sigma=None, foldpath_plots=None):
"ap": self.ap,
}

SNprof, SN_arr, plot_fname = plot_candidate_archive(
SNprof, SN_arr, plot_fname, npz_file = plot_candidate_archive(
self.archive_fname,
self.coord_path,
cand_info=cand_info,
Expand All @@ -365,7 +365,7 @@ def plot(self, sigma=None, foldpath_plots=None):

log.info(f"SN of folded profile: {SN_arr}")

return SNprof, SN_arr, plot_fname
return SNprof, SN_arr, plot_fname, npz_file

def cleanup(self):
"""
Expand Down
3 changes: 2 additions & 1 deletion champss/folding/folding/fold_candidate.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ def main(
plot_aliases(alias_results, output_path=alias_plot_path)

# Plot
SNprof, SN_arr, plot_fname = folder.plot(
SNprof, SN_arr, plot_fname, npz_file = folder.plot(
sigma=sigma, foldpath_plots=foldpath + "/plots/folded_candidate_plots/"
)

Expand All @@ -354,6 +354,7 @@ def main(
"archive_fname": folder.archive_fname,
"SN": float(SN_arr),
"path_to_plot": plot_fname,
"npz_file": npz_file,
}

# Update database
Expand Down
Loading