small file name fix

This commit is contained in:
2025-11-15 22:09:20 +01:00
parent 6f717337d3
commit 068292b7e2

View File

@@ -177,6 +177,8 @@ def demo3():
def fit_measurement(file, show_all):
if file[0] in "\"'" and file[0] == file[-1]:
file = file[1:-1]
if "/" in file:
file = file.replace("\\", "")
raw_wl, raw_intens = osaload(file, normalize=True)
_o = raw_wl.argsort()
raw_intens = raw_intens[_o]