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 @@ -259,12 +259,18 @@ def test_histidine(self):
259259
260260 def test_check_non_canon_atom_standard (self ):
261261 """Test check for non-canonical atom names, standard restypes"""
262+ minicif = utils .get_input_file_name (TOPDIR , 'mini.cif' )
262263 incif = utils .get_input_file_name (TOPDIR , 'non_canon_atom.cif' )
263264
264265 # Should work fine without check
265266 subprocess .check_call ([sys .executable , MAKE_MMCIF , incif ])
266267 os .unlink ('output.cif' )
267268
269+ # Should also work fine for file with canonical atom names
270+ subprocess .check_call ([sys .executable , MAKE_MMCIF ,
271+ "--check_atom_names=standard" , minicif ])
272+ os .unlink ('output.cif' )
273+
268274 # Should fail with check enabled
269275 r = subprocess .Popen ([sys .executable , MAKE_MMCIF ,
270276 "--check_atom_names=standard" , incif ],
You can’t perform that action at this time.
0 commit comments