@@ -129,7 +129,9 @@ def _launch_multigrid_watcher(
129129 ):
130130 log .info (f"Launching multigrid watcher for source { source } " )
131131 machine_config = get_machine_config (
132- str (self ._environment .url .geturl ()), demo = self ._environment .demo
132+ str (self ._environment .url .geturl ()),
133+ instrument_name = self ._environment .instrument_name ,
134+ demo = self ._environment .demo ,
133135 )
134136 self ._multigrid_watcher = MultigridDirWatcher (
135137 source ,
@@ -154,6 +156,7 @@ def _start_rsyncer_multigrid(
154156 remove_files : bool = False ,
155157 analyse : bool = True ,
156158 limited : bool = False ,
159+ ** kwargs ,
157160 ):
158161 log .info (f"starting multigrid rsyncer: { source } " )
159162 destination_overrides = destination_overrides or {}
@@ -257,7 +260,7 @@ def rsync_result(update: RSyncerUpdate):
257260 ),
258261 secondary = True ,
259262 )
260- url = f"{ str (self ._url .geturl ())} /visits /{ str (self ._visit )} /rsyncer"
263+ url = f"{ str (self ._url .geturl ())} /sessions /{ str (self ._environment . murfey_session )} /rsyncer"
261264 rsyncer_data = {
262265 "source" : str (source ),
263266 "destination" : destination ,
@@ -686,7 +689,9 @@ def on_log_book_log(self, message):
686689
687690 async def reset (self ):
688691 machine_config = get_machine_config (
689- str (self ._environment .url .geturl ()), demo = self ._environment .demo
692+ str (self ._environment .url .geturl ()),
693+ instrument_name = self ._environment .instrument_name ,
694+ demo = self ._environment .demo ,
690695 )
691696 if self .rsync_processes and machine_config .get ("allow_removal" ):
692697 sources = "\n " .join (str (k ) for k in self .rsync_processes .keys ())
@@ -739,7 +744,9 @@ def clean_up_quit(self) -> None:
739744
740745 async def action_clear (self ) -> None :
741746 machine_config = get_machine_config (
742- str (self ._environment .url .geturl ()), demo = self ._environment .demo
747+ str (self ._environment .url .geturl ()),
748+ instrument_name = self ._environment .instrument_name ,
749+ demo = self ._environment .demo ,
743750 )
744751 if self .rsync_processes and machine_config .get ("allow_removal" ):
745752 sources = "\n " .join (str (k ) for k in self .rsync_processes .keys ())
0 commit comments