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
"eln": "", # Empty: use default ELN from sts_eln setting
272
+
"technique": "sts",
273
+
},
274
+
"/path/to/data/afm/surface.sxm": {
275
+
"eln": "/path/to/custom_eln2.yaml",
276
+
"technique": "afm",
277
+
},
278
+
}
279
+
)
280
+
```
281
+
282
+
**Important**: Use full file paths as keys to avoid collisions when files in different directories have the same name. The `__post_init__` method automatically creates both full-path and filename lookups.
283
+
257
284
### Processing Only Unprocessed Files
258
285
259
286
The uploader automatically creates `.done` marker files for successful uploads. On subsequent runs, it only processes files without corresponding `.done` markers.
@@ -266,14 +293,52 @@ The uploader automatically creates `.done` marker files for successful uploads.
266
293
# Only processes new files without .done markers
267
294
```
268
295
296
+
### Automatic Technique Detection
297
+
298
+
The uploader uses a hybrid approach to determine the SPM technique:
299
+
300
+
1.**Explicit Configuration**: If `file_to_convert_data` specifies a `technique` for a file, it uses that value
301
+
2.**File Extension Fallback**: If no explicit technique is configured:
0 commit comments