Commit e4e9ebf7 authored by GROUAZEL's avatar GROUAZEL

add .png at the end agrouaze august 2018 fix missing .png at the end of the filenames

parent 6b2d6d04
......@@ -45,7 +45,7 @@ if __name__ == "__main__":
output_file, extension = os.path.splitext(output_file)
if not os.path.exists(output_dir):
os.makedirs(output_dir, 0775)
currentSpectrum = SpectrumReader.read_spectrum(input_file, mode).write(output_file)
currentSpectrum = SpectrumReader.read_spectrum(input_file, mode).write(output_file+'.png')#add .png at the end agrouaze august 2018 fix missing .png at the end of the filenames
nbsuccess += 1
except Exception as e:
print 'exception occured:'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment