now removes '*_cut.hkl' file
This commit is contained in:
@@ -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(',')))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user