You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# If there is an incorrect number of folders, raise an error
195
+
iflen(folders) <len(required_folders):
196
+
raiseRuntimeError(
197
+
f"Incorrect zip format detected: found {len(folders)} folders in the provided zip file. Expected a zip file with {len(required_folders)} folders: a UV-Vis folder (containing sample scans), an electrochemical folder, and a UV-Vis reference folder (containing the background scan). For more information see https://datalab-app-plugin-insitu.readthedocs.io/en/latest/"
# If there is an incorrect number of folders, raise an error
221
+
iflen(folders) <len(required_folders):
222
+
raiseRuntimeError(
223
+
f"Incorrect zip format detected: found {len(folders)} folders in the provided zip file. Expected a zip file with {len(required_folders)} folders: an xrd folder and a log folder. For more information see https://datalab-app-plugin-insitu.readthedocs.io/en/latest/"
# If there is an incorrect number of folders, raise an error
228
+
iflen(folders) <len(required_folders):
229
+
raiseRuntimeError(
230
+
f"Incorrect zip format detected: found {len(folders)} folders in the provided zip file. Expected a zip file with {len(required_folders)} folders: an xrd folder, an echem folder, and a log folder. For more information see https://datalab-app-plugin-insitu.readthedocs.io/en/latest/"
231
+
)
218
232
else:
219
233
raiseValueError(
220
234
"time_series_source must be set to either 'log' or 'echem' in the datablock data"
0 commit comments