Skip to content

Commit 1744c3f

Browse files
committed
Need machine config for data substrings to find transferred data files
1 parent 1b6a9fa commit 1744c3f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/murfey/client/multigrid_control.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from murfey.client.rsync import RSyncer, RSyncerUpdate, TransferResult
2020
from murfey.client.tui.screens import determine_default_destination
2121
from murfey.client.watchdir import DirWatcher
22-
from murfey.util import capture_post, posix_path
22+
from murfey.util import capture_post, get_machine_config_client, posix_path
2323

2424
log = logging.getLogger("murfey.client.mutligrid_control")
2525

@@ -71,6 +71,11 @@ def __post_init__(self):
7171
instrument_name=self.instrument_name,
7272
# processing_only_mode=server_routing_prefix_found,
7373
)
74+
self._machine_config = get_machine_config_client(
75+
str(self._environment.url.geturl()),
76+
instrument_name=self._environment.instrument_name,
77+
demo=self._environment.demo,
78+
)
7479
self._data_suffixes = (".mrc", ".tiff", ".tif", ".eer")
7580
self._data_substrings = [
7681
s

0 commit comments

Comments
 (0)