Commit 35ca446d authored by Yan's avatar Yan
Browse files

DRL export has now predefined foldername

parent add67ec7
......@@ -432,7 +432,8 @@ def export_drlspectrum(parent, fn, ds, drls):
fname = QtWidgets.QFileDialog.getSaveFileName(
None,"Export DRL data",
options=(QtWidgets.QFileDialog.DontConfirmOverwrite |
QtWidgets.QFileDialog.HideNameFilterDetails))[0]
QtWidgets.QFileDialog.HideNameFilterDetails),
directory=os.path.basename(fn[0][:-4]))[0]
if fname is '':
return
exp_f_name = list(map(lambda x: "{}/{}-{}.csv".format(
......
Supports Markdown
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