diff --git a/evcouplings/compare/protocol.py b/evcouplings/compare/protocol.py index d7a4c366..209af54e 100644 --- a/evcouplings/compare/protocol.py +++ b/evcouplings/compare/protocol.py @@ -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))