We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 280155b commit cc72af3Copy full SHA for cc72af3
1 file changed
src/murfey/client/multigrid_control.py
@@ -566,12 +566,15 @@ def _start_dc(self, metadata_json):
566
+ "/".join(source.parts[-2:])
567
)
568
metadata_source = Path(metadata_source_as_str.replace("//", "/"))
569
- ensure_dcg_exists(
570
- collection_type="spa",
571
- metadata_source=metadata_source,
572
- environment=self._environment,
573
- token=self.token,
574
- )
+ try:
+ ensure_dcg_exists(
+ collection_type="spa",
+ metadata_source=metadata_source,
+ environment=self._environment,
+ token=self.token,
575
+ )
576
+ except Exception as e:
577
+ log.error(f"Failed to register data collection group: {e}")
578
data = {
579
"voltage": metadata_json["voltage"],
580
"pixel_size_on_image": metadata_json["pixel_size_on_image"],
0 commit comments