Skip to content

Commit

Permalink
Merge branch 'master' into bcif_check
Browse files Browse the repository at this point in the history
  • Loading branch information
JarrettSJohnson committed Jun 10, 2024
2 parents 3f54a3c + 9d01072 commit f829cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/tests/helpers/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def assert_in_names_undo(cmd, name: str) -> None:

def compatible_with(version: str) -> bool:
def tupleize_version(str_: str):
return tuple(int(x) for x in str_.partition('.')[0::2] if x.isdigit())
return tuple(int(x) for x in str_.split('.') if x.isdigit())

PYMOL_VERSION = cmd.get_version()
PYMOL_VERSION_TUPLE = tupleize_version(PYMOL_VERSION[0])
Expand Down

0 comments on commit f829cb0

Please sign in to comment.