Skip to content

Commit

Permalink
Revert "Fixed bug with ct_file in contcorr plots."
Browse files Browse the repository at this point in the history
This reverts commit 3c0b9a9.
  • Loading branch information
justinaruda committed Apr 12, 2022
1 parent 3c0b9a9 commit cb3d3f4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions dreem_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,6 @@ def plot_mus(plots_file, label_delim=", "):
# Create a plot for each row in the "Plots" sheet.
print("Creating Plots ...")
for row in tqdm(plots.itertuples()):
ct_file = ""
labels_value = row.Labels
if hasattr(row, "Matched_Replicates"):
matched_replicates = row.Matched_Replicates
Expand Down Expand Up @@ -2032,9 +2031,8 @@ def plot(group, mus):
plot(f"{labels[0]}_vs_{labels[1]}", [processed_mus[labels[0]], processed_mus[labels[1]]])

if arc:
if ct_file != "":
name, pairs, paired, seq = read_ct_file_single(ct_file, multiple=structure_number)
ax = plot_arc("", seq, pairs, contcorr=True, contcorr_ax=ax)
name, pairs, paired, seq = read_ct_file_single(ct_file, multiple=structure_number)
ax = plot_arc("", seq, pairs, contcorr=True, contcorr_ax=ax)
else:
name = None
plt.legend()
Expand Down

0 comments on commit cb3d3f4

Please sign in to comment.