now removes '*_cut.hkl' file

This commit is contained in:
Beale John Henry
2025-01-22 12:38:53 +01:00
parent 6d64d9248e
commit 93a2dc8cef

View File

@@ -162,6 +162,13 @@ def main( hklin_file, hklout_file, mtzout, project, crystal, dataset, cell, spac
make_mtz( hklout_file, mtzout, project, crystal, dataset, cell, spacegroup, residues, res_range )
print( "done" )
# remove *cut.hkl out
cwd = os.getcwd()
files = os.listdir( cwd )
for file in files:
if file.endswith( "cut.hkl" ):
os.remove( file )
def list_of_floats(arg):
return list(map(float, arg.split(',')))