diff --git a/reduction_tools/make_mtz.py b/reduction_tools/make_mtz.py index bb7a9f4..0f4eaa0 100644 --- a/reduction_tools/make_mtz.py +++ b/reduction_tools/make_mtz.py @@ -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(',')))