Skip to content

Commit

Permalink
Calling incorrect multimer DistMap during complex contact map creatio…
Browse files Browse the repository at this point in the history
…n leads to attempting to create empty contact maps. Fixes #222.
  • Loading branch information
aggreen committed Mar 31, 2020
1 parent a3780de commit a4b1fca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evcouplings/compare/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def plot_complex_cm(ecs_i, ecs_j, ecs_inter,
# Currently, we require at least one of the monomer
# to have either ECs or distances in order to make a plot
if ((ecs_i is None or ecs_i.empty) and d_intra_i is None and d_multimer_i is None) \
or ((ecs_j is None or ecs_j.empty) and d_intra_j is None and d_multimer_i is None):
or ((ecs_j is None or ecs_j.empty) and d_intra_j is None and d_multimer_j is None):
return False

fig = plt.figure(figsize=(8, 8))
Expand Down

0 comments on commit a4b1fca

Please sign in to comment.