QuLab 2.7.4__tar.gz → 2.7.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {qulab-2.7.4 → qulab-2.7.5}/PKG-INFO +1 -1
- {qulab-2.7.4 → qulab-2.7.5}/QuLab.egg-info/PKG-INFO +1 -1
- {qulab-2.7.4 → qulab-2.7.5}/qulab/executor/storage.py +13 -8
- qulab-2.7.5/qulab/version.py +1 -0
- qulab-2.7.4/qulab/version.py +0 -1
- {qulab-2.7.4 → qulab-2.7.5}/LICENSE +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/MANIFEST.in +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/QuLab.egg-info/SOURCES.txt +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/QuLab.egg-info/dependency_links.txt +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/QuLab.egg-info/entry_points.txt +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/QuLab.egg-info/requires.txt +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/QuLab.egg-info/top_level.txt +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/README.md +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/pyproject.toml +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/__init__.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/__main__.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/cli/__init__.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/cli/commands.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/cli/config.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/dicttree.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/executor/__init__.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/executor/cli.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/executor/load.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/executor/schedule.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/executor/transform.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/executor/utils.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/monitor/__init__.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/monitor/__main__.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/monitor/config.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/monitor/dataset.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/monitor/event_queue.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/monitor/mainwindow.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/monitor/monitor.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/monitor/ploter.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/monitor/qt_compat.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/monitor/toolbar.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/scan/__init__.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/scan/curd.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/scan/expression.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/scan/models.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/scan/optimize.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/scan/query.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/scan/record.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/scan/scan.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/scan/server.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/scan/space.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/scan/utils.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/storage/__init__.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/storage/__main__.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/storage/backend/__init__.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/storage/backend/redis.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/storage/base_dataset.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/storage/chunk.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/storage/dataset.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/storage/file.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/storage/models/__init__.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/storage/models/base.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/storage/models/config.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/storage/models/file.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/storage/models/ipy.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/storage/models/models.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/storage/models/record.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/storage/models/report.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/storage/models/tag.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/storage/storage.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/__init__.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/chat.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/device/__init__.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/device/basedevice.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/device/loader.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/device/utils.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/drivers/FakeInstrument.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/drivers/__init__.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/ipy_events.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/net/__init__.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/net/bencoder.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/net/cli.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/net/dhcp.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/net/dhcpd.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/net/kad.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/net/kcp.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/net/nginx.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/progress.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/rpc/__init__.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/rpc/client.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/rpc/exceptions.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/rpc/msgpack.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/rpc/msgpack.pyi +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/rpc/router.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/rpc/rpc.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/rpc/serialize.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/rpc/server.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/rpc/socket.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/rpc/utils.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/rpc/worker.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/sys/rpc/zmq_socket.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/typing.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/utils.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/visualization/__init__.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/visualization/__main__.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/visualization/_autoplot.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/visualization/plot_circ.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/visualization/plot_layout.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/visualization/plot_seq.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/visualization/qdat.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/visualization/rot3d.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/qulab/visualization/widgets.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/setup.cfg +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/setup.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/src/qulab.h +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/tests/test_kad.py +0 -0
- {qulab-2.7.4 → qulab-2.7.5}/tests/test_scan.py +0 -0
@@ -30,6 +30,7 @@ class Result():
|
|
30
30
|
data: Any = field(default_factory=tuple)
|
31
31
|
index: int = -1
|
32
32
|
previous_path: Path | None = None
|
33
|
+
heads: dict[str, Path] | None = None
|
33
34
|
base_path: Path | None = None
|
34
35
|
config_path: Path | None = None
|
35
36
|
|
@@ -100,7 +101,7 @@ def save_config_key_history(key: str, result: Result,
|
|
100
101
|
else:
|
101
102
|
__current_config_cache = {}
|
102
103
|
|
103
|
-
__current_config_cache[key] = result.data
|
104
|
+
__current_config_cache[key] = result.data, datetime.now()
|
104
105
|
|
105
106
|
with open(base_path / 'parameters.pkl', 'wb') as f:
|
106
107
|
pickle.dump(__current_config_cache, f)
|
@@ -118,13 +119,17 @@ def find_config_key_history(key: str, base_path: str | Path) -> Result | None:
|
|
118
119
|
__current_config_cache = {}
|
119
120
|
|
120
121
|
if key in __current_config_cache:
|
121
|
-
value = __current_config_cache.get(key, None)
|
122
|
-
result = Result(
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
122
|
+
value, checked_time = __current_config_cache.get(key, None)
|
123
|
+
result = Result(
|
124
|
+
workflow=f'cfg:{key}',
|
125
|
+
bad_data=False,
|
126
|
+
in_spec=True,
|
127
|
+
fully_calibrated=True,
|
128
|
+
parameters={key: value},
|
129
|
+
data=value,
|
130
|
+
calibrated_time=checked_time,
|
131
|
+
checked_time=checked_time,
|
132
|
+
)
|
128
133
|
result.bad_data = False
|
129
134
|
return result
|
130
135
|
return None
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "2.7.5"
|
qulab-2.7.4/qulab/version.py
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = "2.7.4"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|