Skip to content

Commit df0719c

Browse files
committed
Make data transfer option configurable
1 parent a1996a9 commit df0719c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/murfey/client/multigrid_control.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ def _start_rsyncer_multigrid(
133133
remove_files=remove_files,
134134
tag=tag,
135135
limited=limited,
136+
transfer=machine_data.get("data_transfer_enabled", True),
136137
)
137138
self.ws.send(json.dumps({"message": "refresh"}))
138139

src/murfey/util/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ class MachineConfig(BaseModel):
3535
data_required_substrings: Dict[str, Dict[str, List[str]]] = {}
3636
allow_removal: bool = False
3737
modular_spa: bool = False
38+
data_transfer_enabled: bool = True
3839
processing_enabled: bool = True
3940
machine_override: str = ""
4041
processed_extra_directory: str = ""

0 commit comments

Comments
 (0)