QuLab 2.10.0__cp310-cp310-macosx_10_9_universal2.whl → 2.10.1__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.
qulab/executor/load.py CHANGED
@@ -135,10 +135,14 @@ def verify_dependence_key(workflow: str | tuple[str, dict[str, Any]]
135
135
  if not isinstance(workflow, tuple) or len(workflow) not in [2, 3]:
136
136
  raise ValueError(f"Invalid workflow: {workflow}")
137
137
 
138
- if len(workflow) == 2:
138
+ if len(workflow) == 2 and isinstance(workflow[1], str):
139
139
  file_name, mapping = workflow
140
140
  if not Path(file_name).exists():
141
141
  raise FileNotFoundError(f"File not found: {file_name}")
142
+ elif len(workflow) == 2 and isinstance(workflow[1], dict):
143
+ template_path, mapping = workflow
144
+ if not (Path(base_path) / template_path).exists():
145
+ raise FileNotFoundError(f"File not found: {template_path}")
142
146
  elif len(workflow) == 3:
143
147
  template_path, target_path, mapping = workflow
144
148
  if not (Path(base_path) / template_path).exists():
Binary file
qulab/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "2.10.0"
1
+ __version__ = "2.10.1"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: QuLab
3
- Version: 2.10.0
3
+ Version: 2.10.1
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=fL8FSMGk4vzTMXLxWgNHpd1fNWau4yujSWjPEPqudos,367
2
2
  qulab/__main__.py,sha256=fjaRSL_uUjNIzBGNgjlGswb9TJ2VD5qnkZHW3hItrD4,68
3
3
  qulab/dicttree.py,sha256=tRRMpGZYVOLw0TEByE3_2Ss8FdOmzuGL9e1DWbs8qoY,13684
4
- qulab/fun.cpython-310-darwin.so,sha256=63ufLELOb5Qais4CFu5O_kWXOezOpdLOhCi4LBK9MP0,126864
4
+ qulab/fun.cpython-310-darwin.so,sha256=ahU98fa8lyaeMfE5_1ZNW8nIEaQa3bPQGdnC2ylgvoc,126864
5
5
  qulab/typing.py,sha256=vg62sGqxuD9CI5677ejlzAmf2fVdAESZCQjAE_xSxPg,69
6
6
  qulab/utils.py,sha256=BdLdlfjpe6m6gSeONYmpAKTTqxDaYHNk4exlz8kZxTg,2982
7
- qulab/version.py,sha256=-wrxKlVMUOYQC2baw-827pV-q4STQnQkmi5VCiGpO64,22
7
+ qulab/version.py,sha256=QsekqJipSrjPuGihvOztbBNg-NIr5A4FfBf197XlERA,22
8
8
  qulab/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  qulab/cli/commands.py,sha256=F1LATmSC9lOAdnrOTMK7DRjETCEcOmMsocovWRyjWTc,597
10
10
  qulab/cli/config.py,sha256=fWeWHiX-Oxodvfv4g0B-UFisJlYcF1Hv6V1fKib2mOM,5447
@@ -12,7 +12,7 @@ qulab/cli/decorators.py,sha256=66lzX1FtGG3C0qheLOjbKquLitnivXgmWyEG2ywRvKY,598
12
12
  qulab/executor/__init__.py,sha256=LosPzOMaljSZY1thy_Fxtbrgq7uubJszMABEB7oM7tU,101
13
13
  qulab/executor/analyze.py,sha256=4Hau5LrKUdpweh7W94tcG4ahgxucHOevbM0hm57T7zE,5649
14
14
  qulab/executor/cli.py,sha256=JhaOvMfLHOFe8HdQhGeqU3Lj3z0mJXLXJhzIwmAsaso,12251
15
- qulab/executor/load.py,sha256=6QLlATu2KyGY2nrWLFTVxDE4DwoCXx3WNx72QR_LZB0,18715
15
+ qulab/executor/load.py,sha256=Nk9hdLipNRQ8mdPTpFNeIwiFi1ybOYBwsT-w1lN7IwU,18988
16
16
  qulab/executor/schedule.py,sha256=PmNRvs41DXKC2teHj5XGblpUEKLrsZpgPqk2K-opA-g,20009
17
17
  qulab/executor/storage.py,sha256=8K73KGLAVgchJdtd4rKHXkr1CQOJORWH-Gi57w8IYsw,21081
18
18
  qulab/executor/template.py,sha256=_HEtsUQ5_jSujCw8FBDAK1PRTMRCa4iD4DduHIpjo3c,10569
@@ -99,9 +99,9 @@ qulab/visualization/plot_seq.py,sha256=UWTS6p9nfX_7B8ehcYo6UnSTUCjkBsNU9jiOeW2ca
99
99
  qulab/visualization/qdat.py,sha256=ZeevBYWkzbww4xZnsjHhw7wRorJCBzbG0iEu-XQB4EA,5735
100
100
  qulab/visualization/rot3d.py,sha256=lMrEJlRLwYe6NMBlGkKYpp_V9CTipOAuDy6QW_cQK00,734
101
101
  qulab/visualization/widgets.py,sha256=6KkiTyQ8J-ei70LbPQZAK35wjktY47w2IveOa682ftA,3180
102
- qulab-2.10.0.dist-info/licenses/LICENSE,sha256=PRzIKxZtpQcH7whTG6Egvzl1A0BvnSf30tmR2X2KrpA,1065
103
- qulab-2.10.0.dist-info/METADATA,sha256=zgYXM6nfKcUtCQlhiOXvYpUAmrrQko9kO_7syyfjkCo,3753
104
- qulab-2.10.0.dist-info/WHEEL,sha256=qnIvK8L8kOW9FTrzifubcmNsZckgNfGDNKzGG7FMEdE,114
105
- qulab-2.10.0.dist-info/entry_points.txt,sha256=b0v1GXOwmxY-nCCsPN_rHZZvY9CtTbWqrGj8u1m8yHo,45
106
- qulab-2.10.0.dist-info/top_level.txt,sha256=3T886LbAsbvjonu_TDdmgxKYUn939BVTRPxPl9r4cEg,6
107
- qulab-2.10.0.dist-info/RECORD,,
102
+ qulab-2.10.1.dist-info/licenses/LICENSE,sha256=PRzIKxZtpQcH7whTG6Egvzl1A0BvnSf30tmR2X2KrpA,1065
103
+ qulab-2.10.1.dist-info/METADATA,sha256=gDKZGYiA5s8-si5QgJB5wWwEnMQngGmPaHJ5DqrP--E,3753
104
+ qulab-2.10.1.dist-info/WHEEL,sha256=qnIvK8L8kOW9FTrzifubcmNsZckgNfGDNKzGG7FMEdE,114
105
+ qulab-2.10.1.dist-info/entry_points.txt,sha256=b0v1GXOwmxY-nCCsPN_rHZZvY9CtTbWqrGj8u1m8yHo,45
106
+ qulab-2.10.1.dist-info/top_level.txt,sha256=3T886LbAsbvjonu_TDdmgxKYUn939BVTRPxPl9r4cEg,6
107
+ qulab-2.10.1.dist-info/RECORD,,
File without changes