diff --git a/src/murfey/client/contexts/atlas.py b/src/murfey/client/contexts/atlas.py index 04869e89e..85f176616 100644 --- a/src/murfey/client/contexts/atlas.py +++ b/src/murfey/client/contexts/atlas.py @@ -78,6 +78,30 @@ def post_transfer_serialem( logger.info( f"Registered data collection group for atlas {str(transferred_file.stem)!r}" ) + capture_post( + base_url=str(environment.url.geturl()), + router_name="session_control.spa_router", + function_name="register_atlas", + token=self._token, + instrument_name=environment.instrument_name, + session_id=environment.murfey_session, + data={ + "name": f"{environment.visit}-slot-{sample}", + "acquisition_uuid": environment.acquisition_uuid, + "register_grid": False, + "tag": str(transferred_file.parent / transferred_file.stem), + "storage_folder": str( + _atlas_destination( + environment, + source, + Path(self._machine_config.get("rsync_basepath", "")), + ) + / "atlas" + if source + else "" + ), + }, + ) def post_transfer_epu( self,