QuLab 2.4.6__cp312-cp312-win_amd64.whl → 2.4.8__cp312-cp312-win_amd64.whl
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.4.6.dist-info → QuLab-2.4.8.dist-info}/METADATA +1 -1
- {QuLab-2.4.6.dist-info → QuLab-2.4.8.dist-info}/RECORD +9 -9
- qulab/executor/schedule.py +4 -3
- qulab/fun.cp312-win_amd64.pyd +0 -0
- qulab/version.py +1 -1
- {QuLab-2.4.6.dist-info → QuLab-2.4.8.dist-info}/LICENSE +0 -0
- {QuLab-2.4.6.dist-info → QuLab-2.4.8.dist-info}/WHEEL +0 -0
- {QuLab-2.4.6.dist-info → QuLab-2.4.8.dist-info}/entry_points.txt +0 -0
- {QuLab-2.4.6.dist-info → QuLab-2.4.8.dist-info}/top_level.txt +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
qulab/__init__.py,sha256=vkFybY8YSsQilYdThPRD83-btPAR41sy_WCXiM-6mME,141
|
|
2
2
|
qulab/__main__.py,sha256=sQ1z8lk9Q4pq7X9lEzLcY8t6Izr6uxQXO0t3qnTUxEs,575
|
|
3
3
|
qulab/dicttree.py,sha256=ZoSJVWK4VMqfzj42gPb_n5RqLlM6K1Me0WmLIfLEYf8,14195
|
|
4
|
-
qulab/fun.cp312-win_amd64.pyd,sha256=
|
|
5
|
-
qulab/version.py,sha256=
|
|
4
|
+
qulab/fun.cp312-win_amd64.pyd,sha256=hVhWfV1Ir2d4vO8kb8s0kGr9IHwj8BvE79Dowql17Gk,32256
|
|
5
|
+
qulab/version.py,sha256=rEeDjnd5O4uUbgUNz7NIJlvu9OJZL-L-gFEWeMnqgCo,21
|
|
6
6
|
qulab/executor/__init__.py,sha256=LosPzOMaljSZY1thy_Fxtbrgq7uubJszMABEB7oM7tU,101
|
|
7
7
|
qulab/executor/__main__.py,sha256=1Mg5fJ0dYSWQnP6wgTa0s6U_WH7NT2lCnCQOHyx_I7c,2430
|
|
8
8
|
qulab/executor/load.py,sha256=jZHkEzFF8ufFAIajkRDKmHYYJxbxI3RcEbAFIbl9VQ0,6208
|
|
9
|
-
qulab/executor/schedule.py,sha256=
|
|
9
|
+
qulab/executor/schedule.py,sha256=IxWaqmAUti5Mb0varEvNyiRoH_3zWTJ1eNZ5BofNM3E,9567
|
|
10
10
|
qulab/executor/storage.py,sha256=M66Q5_Uc5MMfc_QAuuaaexwAz7wxBPMkeleB5nRpQmI,4621
|
|
11
11
|
qulab/executor/transform.py,sha256=inaOn6eqCs22ZZ0xAQl8s8YCoEACaXSwFNNu7jqdwAk,2148
|
|
12
12
|
qulab/executor/utils.py,sha256=n3uCSKh-qdDFFeNvOpj7_es2_B4AaC-ASAlV9gPmSO0,3086
|
|
@@ -89,9 +89,9 @@ qulab/visualization/plot_seq.py,sha256=Uo1-dB1YE9IN_A9tuaOs9ZG3S5dKDQ_l98iD2Wbxp
|
|
|
89
89
|
qulab/visualization/qdat.py,sha256=HubXFu4nfcA7iUzghJGle1C86G6221hicLR0b-GqhKQ,5887
|
|
90
90
|
qulab/visualization/rot3d.py,sha256=jGHJcqj1lEWBUV-W4GUGONGacqjrYvuFoFCwPse5h1Y,757
|
|
91
91
|
qulab/visualization/widgets.py,sha256=HcYwdhDtLreJiYaZuN3LfofjJmZcLwjMfP5aasebgDo,3266
|
|
92
|
-
QuLab-2.4.
|
|
93
|
-
QuLab-2.4.
|
|
94
|
-
QuLab-2.4.
|
|
95
|
-
QuLab-2.4.
|
|
96
|
-
QuLab-2.4.
|
|
97
|
-
QuLab-2.4.
|
|
92
|
+
QuLab-2.4.8.dist-info/LICENSE,sha256=b4NRQ-GFVpJMT7RuExW3NwhfbrYsX7AcdB7Gudok-fs,1086
|
|
93
|
+
QuLab-2.4.8.dist-info/METADATA,sha256=mtxyFWjYkoRE3MPGQBZ4PZdFpnveKXJUfgM7OabU4Vo,3803
|
|
94
|
+
QuLab-2.4.8.dist-info/WHEEL,sha256=cRmSBGD-cl98KkuHMNqv9Ac9L9_VqTvcBYwpIvxN0cg,101
|
|
95
|
+
QuLab-2.4.8.dist-info/entry_points.txt,sha256=b0v1GXOwmxY-nCCsPN_rHZZvY9CtTbWqrGj8u1m8yHo,45
|
|
96
|
+
QuLab-2.4.8.dist-info/top_level.txt,sha256=3T886LbAsbvjonu_TDdmgxKYUn939BVTRPxPl9r4cEg,6
|
|
97
|
+
QuLab-2.4.8.dist-info/RECORD,,
|
qulab/executor/schedule.py
CHANGED
|
@@ -75,13 +75,14 @@ def call_analyzer(node, data, history, check=False, plot=False):
|
|
|
75
75
|
return result
|
|
76
76
|
|
|
77
77
|
|
|
78
|
+
@logger.catch()
|
|
78
79
|
def call_plot(node, result, check=False):
|
|
79
80
|
if hasattr(node, 'plot') and callable(node.plot):
|
|
80
81
|
state, params, other = transform.result_to_params(result)
|
|
81
82
|
node.plot(state, params, other)
|
|
82
83
|
|
|
83
84
|
|
|
84
|
-
@functools.lru_cache(maxsize=128)
|
|
85
|
+
# @functools.lru_cache(maxsize=128)
|
|
85
86
|
def check_data(workflow: str, code_path: str | Path, state_path: str | Path,
|
|
86
87
|
plot: bool, session_id: str) -> Result:
|
|
87
88
|
"""
|
|
@@ -139,7 +140,7 @@ def check_data(workflow: str, code_path: str | Path, state_path: str | Path,
|
|
|
139
140
|
return result
|
|
140
141
|
|
|
141
142
|
|
|
142
|
-
@functools.lru_cache(maxsize=128)
|
|
143
|
+
# @functools.lru_cache(maxsize=128)
|
|
143
144
|
def calibrate(workflow, code_path: str | Path, state_path: str | Path,
|
|
144
145
|
plot: bool, session_id: str) -> Result:
|
|
145
146
|
node = load_workflow(workflow, code_path)
|
|
@@ -205,7 +206,7 @@ def maintain(node,
|
|
|
205
206
|
# recursive maintain
|
|
206
207
|
for n in get_dependents(node, code_path):
|
|
207
208
|
logger.debug(f'maintain "{n}" because it is depended by "{node}"')
|
|
208
|
-
maintain(n, code_path, state_path, session_id)
|
|
209
|
+
maintain(n, code_path, state_path, session_id, run=False, plot=plot)
|
|
209
210
|
else:
|
|
210
211
|
logger.debug(f'"{node}": All dependents maintained')
|
|
211
212
|
# check_state
|
qulab/fun.cp312-win_amd64.pyd
CHANGED
|
Binary file
|
qulab/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "2.4.
|
|
1
|
+
__version__ = "2.4.8"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|