Skip to content

Commit

Permalink
Make --no-mmlibs --no-undo the default
Browse files Browse the repository at this point in the history
These tests seem unsupported by modern PyMOL versions (like 2.5.6), see
schrodinger/pymol-testing#9

Add `--with-mmlibs` and `--with-undo` options to enable these tests.
  • Loading branch information
speleo3 committed Jan 31, 2024
1 parent 00a8ed3 commit bd4e3ab
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions testing/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,10 @@ def tupleize_version(strversion):
parser.add_argument('filenames', nargs='*', default=[])
parser.add_argument('--out', default=sys.stdout)
parser.add_argument('--offline', action='store_true')
parser.add_argument('--no-mmlibs', action='store_true')
parser.add_argument('--no-undo', action='store_true')
parser.add_argument('--no-mmlibs', action='store_true', default=True)
parser.add_argument('--with-mmlibs', action='store_false', dest='no_mmlibs')
parser.add_argument('--no-undo', action='store_true', default=True)
parser.add_argument('--with-undo', action='store_false', dest='no_undo')
parser.add_argument('--verbosity', type=int, default=2)

have_dash_dash = __file__.startswith(sys.argv[0]) or '--run' in sys.argv
Expand Down

0 comments on commit bd4e3ab

Please sign in to comment.