QuLab 2.4.6__cp310-cp310-macosx_10_9_universal2.whl → 2.4.8__cp310-cp310-macosx_10_9_universal2.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: QuLab
3
- Version: 2.4.6
3
+ Version: 2.4.8
4
4
  Summary: contral instruments and manage data
5
5
  Author-email: feihoo87 <feihoo87@gmail.com>
6
6
  Maintainer-email: feihoo87 <feihoo87@gmail.com>
@@ -1,12 +1,12 @@
1
1
  qulab/__init__.py,sha256=P-Mx2p4TVmL91SoxoeXcj8Qm0x4xUf5Q_FLk0Yc_gIQ,138
2
2
  qulab/__main__.py,sha256=V5jIyfuCSi5dI6jvqgH_BpXG0URd6bgneDdVCM1dGSA,545
3
3
  qulab/dicttree.py,sha256=tRRMpGZYVOLw0TEByE3_2Ss8FdOmzuGL9e1DWbs8qoY,13684
4
- qulab/fun.cpython-310-darwin.so,sha256=oLUWuxDOrYz8Tc1V2wPdhBRD1ur-WsR9sHGpZQd2bDk,126864
5
- qulab/version.py,sha256=jzWsJzFuYAnC9Fllul1PYEIxXD-Lspqc6-IMg65EXLc,21
4
+ qulab/fun.cpython-310-darwin.so,sha256=JMzSlp_NqsycISGXVisMLN0JMXEOnvy0wHs0GDaCH5s,126864
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=blxX1wYEjbJcV6Su3ftQma8fGoMMQ_1t276PPoDjhfU,9524
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=UWTS6p9nfX_7B8ehcYo6UnSTUCjkBsNU9jiOeW2ca
89
89
  qulab/visualization/qdat.py,sha256=ZeevBYWkzbww4xZnsjHhw7wRorJCBzbG0iEu-XQB4EA,5735
90
90
  qulab/visualization/rot3d.py,sha256=lMrEJlRLwYe6NMBlGkKYpp_V9CTipOAuDy6QW_cQK00,734
91
91
  qulab/visualization/widgets.py,sha256=6KkiTyQ8J-ei70LbPQZAK35wjktY47w2IveOa682ftA,3180
92
- QuLab-2.4.6.dist-info/LICENSE,sha256=PRzIKxZtpQcH7whTG6Egvzl1A0BvnSf30tmR2X2KrpA,1065
93
- QuLab-2.4.6.dist-info/METADATA,sha256=xcG5D2k2LSHdq1VqLFx2isvhwkmWO-j72g0wyl2rLKY,3698
94
- QuLab-2.4.6.dist-info/WHEEL,sha256=Yd3eJSBM2hj8W-ouaiMfFUwQYAS-D6P73Ob9yN5MZd0,114
95
- QuLab-2.4.6.dist-info/entry_points.txt,sha256=b0v1GXOwmxY-nCCsPN_rHZZvY9CtTbWqrGj8u1m8yHo,45
96
- QuLab-2.4.6.dist-info/top_level.txt,sha256=3T886LbAsbvjonu_TDdmgxKYUn939BVTRPxPl9r4cEg,6
97
- QuLab-2.4.6.dist-info/RECORD,,
92
+ QuLab-2.4.8.dist-info/LICENSE,sha256=PRzIKxZtpQcH7whTG6Egvzl1A0BvnSf30tmR2X2KrpA,1065
93
+ QuLab-2.4.8.dist-info/METADATA,sha256=bPj8qIiojUjYmBNkRIaYgVkDI4JwOGBjNawkW5aHa-w,3698
94
+ QuLab-2.4.8.dist-info/WHEEL,sha256=Yd3eJSBM2hj8W-ouaiMfFUwQYAS-D6P73Ob9yN5MZd0,114
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,,
@@ -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
Binary file
qulab/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "2.4.6"
1
+ __version__ = "2.4.8"
File without changes
File without changes