When creating an experiment, pressing cancel... the following is printed out, rather than a user facing "choose another name" message.
Traceback (most recent call last):
File "/home/joli/PycharmProjects/SPECData2.0/app/dialogs/dialog_new_experiment_form.py", line 76, in analyze
mid = self.import_entry()
File "/home/joli/PycharmProjects/SPECData2.0/app/dialogs/dialog___new_experiment_form.py", line 206, in import_entry
copyfile(str(self.file_path), experiment_filepath)
File "/home/joli/tools/anaconda3/envs/2.7Envi/lib/python2.7/shutil.py", line 83, in copyfile
with open(dst, 'wb') as fdst:
IOError: [Errno 2] No such file or directory: '/home/joli/PycharmProjects/SPECData2.0/data/experiments/128.sp'
Traceback (most recent call last):
File "/home/joli/PycharmProjects/SPECData2.0/app/dialogs/dialognew_experiment_form.py", line 76, in analyze
mid = self.import_entry()
File "/home/joli/PycharmProjects/SPECData2.0/app/dialogs/dialog___new_experiment_form.py", line 206, in import_entry
copyfile(str(self.file_path), experiment_file_path)
File "/home/joli/tools/anaconda3/envs/2.7Envi/lib/python2.7/shutil.py", line 83, in copyfile
with open(dst, 'wb') as fdst:
IOError: [Errno 2] No such file or directory: '/home/joli/PycharmProjects/SPECData2.0/data/experiments/None.sp'
[ ERROR: Molecule entry already exists. Cancelling action. ]
When creating an experiment, pressing cancel... the following is printed out, rather than a user facing "choose another name" message.
Traceback (most recent call last): File "/home/joli/PycharmProjects/SPECData2.0/app/dialogs/dialog_new_experiment_form.py", line 76, in analyze mid = self.import_entry() File "/home/joli/PycharmProjects/SPECData2.0/app/dialogs/dialog___new_experiment_form.py", line 206, in import_entry copyfile(str(self.file_path), experiment_filepath) File "/home/joli/tools/anaconda3/envs/2.7Envi/lib/python2.7/shutil.py", line 83, in copyfile with open(dst, 'wb') as fdst: IOError: [Errno 2] No such file or directory: '/home/joli/PycharmProjects/SPECData2.0/data/experiments/128.sp' Traceback (most recent call last): File "/home/joli/PycharmProjects/SPECData2.0/app/dialogs/dialognew_experiment_form.py", line 76, in analyze mid = self.import_entry() File "/home/joli/PycharmProjects/SPECData2.0/app/dialogs/dialog___new_experiment_form.py", line 206, in import_entry copyfile(str(self.file_path), experiment_file_path) File "/home/joli/tools/anaconda3/envs/2.7Envi/lib/python2.7/shutil.py", line 83, in copyfile with open(dst, 'wb') as fdst: IOError: [Errno 2] No such file or directory: '/home/joli/PycharmProjects/SPECData2.0/data/experiments/None.sp' [ ERROR: Molecule entry already exists. Cancelling action. ]