Skip to content

Commit

Permalink
fix for single line restraints
Browse files Browse the repository at this point in the history
  • Loading branch information
kstahl committed Dec 14, 2023
1 parent 59dc08b commit 455c379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion preprocessing_distributions.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
dtype=None,
encoding=None)

if len(restraints.shape) == 1:
if len(restraints.shape) < 2:
restraints = np.array([restraints])

distogram = []
Expand Down

0 comments on commit 455c379

Please sign in to comment.