Commit 5e86b421 authored by Josef Brandt's avatar Josef Brandt

Hotfix for correct spectra import in gepardevaluation

Plus error message in case of wronlgy specified instrument
parent 467d0c8a
......@@ -27,7 +27,7 @@ from typing import List, TYPE_CHECKING
from .particleAndMeasurement import Particle, Measurement
specImportEnabled: bool = True
from ..gepardevaluation.analysis import importSpectra
from ..analysis import importSpectra
except ModuleNotFoundError:
specImportEnabled = False
......@@ -112,4 +112,7 @@ elif interface == "THERMO_FTIR":
InstrumentControl = ThermoFTIRCom
simulatedRaman = False
from ..errors import showErrorMessageAsWidget
showErrorMessageAsWidget(f'Invalid instrument: {interface} defined in gepard.cfg.\nPlease check!')
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