Skip to content

Commit 47a9b5b

Browse files
committed
Rewinded, absorbance spectra can now be set
1 parent b8630d6 commit 47a9b5b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

application.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -741,8 +741,8 @@ def experiment(self):
741741
corrected_absorbance[key] = \
742742
tp_absorbance[key]-correction_spectrum[key]
743743

744-
# self.spectra_storage.putSpectra(
745-
# exp_timestamp, n_d, tp_absorbance)
744+
self.spectra_storage.putSpectra(
745+
exp_timestamp, n_d, tp_absorbance)
746746

747747
self.liveDisplay.putSpectrasAndUpdate(
748748
4,

spectro.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -853,11 +853,12 @@ def putSpectra(self, folder_id, subfolder_id, spectra):
853853
raise IndexError(
854854
"{} is not a correct folder id.".format(folder_id)
855855
)
856-
856+
"""
857857
if subfolder_id in self._hidden_directory[folder_id]:
858858
raise IndexError(
859859
"{} is already in folder {}.".format(subfolder_id, folder_id)
860860
)
861+
"""
861862

862863
if not isinstance(subfolder_id, int) and folder_id != "Basic":
863864
raise TypeError(

0 commit comments

Comments
 (0)