small file name fix
This commit is contained in:
@@ -177,6 +177,8 @@ def demo3():
|
|||||||
def fit_measurement(file, show_all):
|
def fit_measurement(file, show_all):
|
||||||
if file[0] in "\"'" and file[0] == file[-1]:
|
if file[0] in "\"'" and file[0] == file[-1]:
|
||||||
file = file[1:-1]
|
file = file[1:-1]
|
||||||
|
if "/" in file:
|
||||||
|
file = file.replace("\\", "")
|
||||||
raw_wl, raw_intens = osaload(file, normalize=True)
|
raw_wl, raw_intens = osaload(file, normalize=True)
|
||||||
_o = raw_wl.argsort()
|
_o = raw_wl.argsort()
|
||||||
raw_intens = raw_intens[_o]
|
raw_intens = raw_intens[_o]
|
||||||
|
|||||||
Reference in New Issue
Block a user