You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the input of biotite.structure.dot_bracket_from_structure doesn't have any base pairs, biotite.structure.base_pairs will return an empty NumPy array array([], dtype=float64).
When np.sort(basepairs, axis=1) is applied to this empty array, it will raise an AxisError: axis 1 is out of bounds for array of dimension 1, causing the dot_bracket_from_structure function to fail.
Of course, that was just a minor issue. Your package is really powerful.
The text was updated successfully, but these errors were encountered:
When the input of
biotite.structure.dot_bracket_from_structure
doesn't have any base pairs,biotite.structure.base_pairs
will return an empty NumPy arrayarray([], dtype=float64)
.When
np.sort(basepairs, axis=1)
is applied to this empty array, it will raise anAxisError: axis 1 is out of bounds for array of dimension 1
, causing thedot_bracket_from_structure
function to fail.Of course, that was just a minor issue. Your package is really powerful.
The text was updated successfully, but these errors were encountered: