using de-facto standard naming

This commit is contained in:
Martin Diehl 2019-11-29 19:32:18 +01:00
parent dc3fc8f70c
commit e2b13a5ca3
1 changed files with 2 additions and 2 deletions

View File

@ -94,6 +94,6 @@ for filename in options.filenames:
dirname = os.path.abspath(os.path.join(os.path.dirname(filename),options.dir))
if not os.path.isdir(dirname):
os.mkdir(dirname,0o755)
file_out = '{}_{}.txt'.format(os.path.splitext(os.path.split(filename)[-1])[0],
file_out = '{}_inc{}.txt'.format(os.path.splitext(os.path.split(filename)[-1])[0],
inc[3:].zfill(N_digits))
np.savetxt(os.path.join(dirname,file_out),data,header=header,comments='')