Skip to content

Commit 508a7f2

Browse files
committed
Update microscope.py
1 parent 91269ab commit 508a7f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/navigate/model/microscope.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def __init__(
194194
device_plugin_dict = devices_dict.get(device_name, {})
195195
try:
196196
exec(
197-
f"device_plugin_dict['{device_ref_name}'] = devices_dict['__plugins__']['{device_name}']['load_device'](configuration, is_synthetic)"
197+
f"device_plugin_dict['{device_ref_name}'] = devices_dict['__plugins__']['{device_name}']['load_device'](self.microscope_name, configuration, is_synthetic)"
198198
)
199199
devices_dict[device_name] = device_plugin_dict
200200
device_connection = device_plugin_dict[device_ref_name]

0 commit comments

Comments
 (0)