QuLab 2.7.4__cp311-cp311-macosx_10_9_universal2.whl → 2.7.5__cp311-cp311-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.7.4
3
+ Version: 2.7.5
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,10 +1,10 @@
1
1
  qulab/__init__.py,sha256=tKRZe2WafDGcwbu7ddlMaePerN842aRbxcrECsu5pas,286
2
2
  qulab/__main__.py,sha256=fjaRSL_uUjNIzBGNgjlGswb9TJ2VD5qnkZHW3hItrD4,68
3
3
  qulab/dicttree.py,sha256=tRRMpGZYVOLw0TEByE3_2Ss8FdOmzuGL9e1DWbs8qoY,13684
4
- qulab/fun.cpython-311-darwin.so,sha256=Xulnsv4pJRO-IajlRG1fOZCd_ZvqqluRT8yP9e7iO1I,126848
4
+ qulab/fun.cpython-311-darwin.so,sha256=tROCXBE3kaRbmAiAelu3knHSlX8LgSMKBhy8BjLdX5U,126848
5
5
  qulab/typing.py,sha256=5xCLfrp1aZpKpDy4p2arbFszw2eK3hGUjZa-XSvC_-8,69
6
6
  qulab/utils.py,sha256=JIXMSmZU0uYfKG_tzawpK7vRNPRir_hJE8JlqkVLX2o,1260
7
- qulab/version.py,sha256=yGtQGdDAdfOPd0Cjx7MVgaq0BXaJxnboEQcVODQ3F3o,21
7
+ qulab/version.py,sha256=KaaWLSulRNfH8E5IXWnj4a54KetKPO0aYlKBuIb_6bs,21
8
8
  qulab/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  qulab/cli/commands.py,sha256=tgDIkkeIoasQXAifJZ6NU8jDgpNgb2a-B0C4nF0evrE,559
10
10
  qulab/cli/config.py,sha256=SdNmWzweWAdyk8M2oKYhMxnkaJ0qIayPlsLGCNlVqME,3108
@@ -12,7 +12,7 @@ qulab/executor/__init__.py,sha256=LosPzOMaljSZY1thy_Fxtbrgq7uubJszMABEB7oM7tU,10
12
12
  qulab/executor/cli.py,sha256=glpQUV67_85sMpQoc3i2jw63I2WySwCd5sMXykEYzB0,8913
13
13
  qulab/executor/load.py,sha256=QKe2qs-kCPp0PjvnVMR5XVgSa1IkN5BSHkNPZ2EpC38,18007
14
14
  qulab/executor/schedule.py,sha256=YRAYs0PgR0mhhy4rJX8Ddi65peSfh7SfsvudVjLJQAU,15248
15
- qulab/executor/storage.py,sha256=-v7Yd1SrLa8Uy2JHHKFJN1Qp48PPgtWhHC7kcFdACLo,10546
15
+ qulab/executor/storage.py,sha256=SGnbVujkF3doNfNNDfgXI6alKkarhGbr690-VsjbBBA,10666
16
16
  qulab/executor/transform.py,sha256=kaDJePBhVc32gZkQN8YBuA69lYYW9YhDZmCnUKaWuQw,2189
17
17
  qulab/executor/utils.py,sha256=XDk3duNrqDsCqZyZUmPqIAIIiykiafcOMBpy9NVAOAw,5686
18
18
  qulab/monitor/__init__.py,sha256=nTHelnDpxRS_fl_B38TsN0njgq8eVTEz9IAnN3NbDlM,42
@@ -94,9 +94,9 @@ qulab/visualization/plot_seq.py,sha256=UWTS6p9nfX_7B8ehcYo6UnSTUCjkBsNU9jiOeW2ca
94
94
  qulab/visualization/qdat.py,sha256=ZeevBYWkzbww4xZnsjHhw7wRorJCBzbG0iEu-XQB4EA,5735
95
95
  qulab/visualization/rot3d.py,sha256=lMrEJlRLwYe6NMBlGkKYpp_V9CTipOAuDy6QW_cQK00,734
96
96
  qulab/visualization/widgets.py,sha256=6KkiTyQ8J-ei70LbPQZAK35wjktY47w2IveOa682ftA,3180
97
- QuLab-2.7.4.dist-info/LICENSE,sha256=PRzIKxZtpQcH7whTG6Egvzl1A0BvnSf30tmR2X2KrpA,1065
98
- QuLab-2.7.4.dist-info/METADATA,sha256=DZjKwpU-3U8zznsKZI9xODqr9ApQFS3ICSCiBLcwR4o,3698
99
- QuLab-2.7.4.dist-info/WHEEL,sha256=K10eKSN6_vzvMOgXxWbVOQNR7Orfl6gBTCpCI8bcYx4,114
100
- QuLab-2.7.4.dist-info/entry_points.txt,sha256=b0v1GXOwmxY-nCCsPN_rHZZvY9CtTbWqrGj8u1m8yHo,45
101
- QuLab-2.7.4.dist-info/top_level.txt,sha256=3T886LbAsbvjonu_TDdmgxKYUn939BVTRPxPl9r4cEg,6
102
- QuLab-2.7.4.dist-info/RECORD,,
97
+ QuLab-2.7.5.dist-info/LICENSE,sha256=PRzIKxZtpQcH7whTG6Egvzl1A0BvnSf30tmR2X2KrpA,1065
98
+ QuLab-2.7.5.dist-info/METADATA,sha256=erx--03wAyJYszBgIpIVQQY7u3lx3_14DB4HSKzSidM,3698
99
+ QuLab-2.7.5.dist-info/WHEEL,sha256=K10eKSN6_vzvMOgXxWbVOQNR7Orfl6gBTCpCI8bcYx4,114
100
+ QuLab-2.7.5.dist-info/entry_points.txt,sha256=b0v1GXOwmxY-nCCsPN_rHZZvY9CtTbWqrGj8u1m8yHo,45
101
+ QuLab-2.7.5.dist-info/top_level.txt,sha256=3T886LbAsbvjonu_TDdmgxKYUn939BVTRPxPl9r4cEg,6
102
+ QuLab-2.7.5.dist-info/RECORD,,
qulab/executor/storage.py CHANGED
@@ -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(workflow=f'cfg:{key}',
123
- bad_data=False,
124
- in_spec=True,
125
- fully_calibrated=True,
126
- parameters={key: value},
127
- data=value)
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
Binary file
qulab/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "2.7.4"
1
+ __version__ = "2.7.5"
File without changes
File without changes