File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ def run_load_trajectory(args):
2929def test_load_trajectory_pdb (with_top , with_tag ):
3030 # test that we can load a PDB file with or without topology; also tests
3131 # that the taging works correctly
32+ pytest .importorskip ("openmm" )
33+ pytest .importorskip ("mdtraj" )
3234 pdb_path = data_filename ("ala_small_traj.pdb" )
3335 out_file = "setup.nc"
3436 args = [
@@ -49,6 +51,8 @@ def test_load_trajectory_pdb(with_top, with_tag):
4951 assert tagged == traj
5052
5153def test_load_trajectory_trr ():
54+ pytest .importorskip ("openmm" )
55+ pytest .importorskip ("mdtraj" )
5256 trr = data_filename ("gromacs_engine/project_trr/0000000.trr" )
5357 gro = data_filename ("gromacs_engine/conf.gro" )
5458 out_file = "setup.nc"
@@ -62,6 +66,8 @@ def test_load_trajectory_trr():
6266 assert len (traj ) == 4
6367
6468def test_load_trajectory_bad_topology ():
69+ pytest .importorskip ("openmm" )
70+ pytest .importorskip ("mdtraj" )
6571 trr = data_filename ("gromacs_engine/project_trr/0000000.trr" )
6672 pdb = data_filename ("tip4p_water.pdb" )
6773 out_file = "setup.nc"
You can’t perform that action at this time.
0 commit comments