QuLab 2.10.0__cp310-cp310-win_amd64.whl → 2.10.1__cp310-cp310-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/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=ulapyzt9DsDgT68EEbzuhniofHb512pNTFc-Sxfrr8Y,375
2
2
  qulab/__main__.py,sha256=FL4YsGZL1jEtmcPc5WbleArzhOHLMsWl7OH3O-1d1ss,72
3
3
  qulab/dicttree.py,sha256=ZoSJVWK4VMqfzj42gPb_n5RqLlM6K1Me0WmLIfLEYf8,14195
4
- qulab/fun.cp310-win_amd64.pyd,sha256=N8wR_3G8_KKQoDwOCqND6h83FHihV7TApIniGX3wg9c,31744
4
+ qulab/fun.cp310-win_amd64.pyd,sha256=6KF_tISPMBeHJy_48julDQuYDknBe9UYdoaWXVw93wI,31744
5
5
  qulab/typing.py,sha256=PRtwbCHWY2ROKK8GHq4Bo8llXrIGo6xC73DrQf7S9os,71
6
6
  qulab/utils.py,sha256=65N2Xj7kqRsQ4epoLNY6tL-i5ts6Wk8YuJYee3Te6zI,3077
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=ZTs32yQjvwPIsFjXYWNr4KqEvly0NISIqyh--96qCAY,627
10
10
  qulab/cli/config.py,sha256=A3UnyaRtiofpokyzYkJnUdwzcsYX7H-xZvBVduIOSdg,5617
@@ -12,7 +12,7 @@ qulab/cli/decorators.py,sha256=UmJab1o-XH-8DVS_LZFGY2SPjyVgZ1QrJwkauTZDUik,626
12
12
  qulab/executor/__init__.py,sha256=LosPzOMaljSZY1thy_Fxtbrgq7uubJszMABEB7oM7tU,101
13
13
  qulab/executor/analyze.py,sha256=VoSthE2RTarY6Wj3QFKh4FqReMYL7djSAyuitgHs5K0,5837
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=dKQM3IlADdTi9qp0fnOYjyycRNEl7KeSCBZhwbmP8bQ,10828
@@ -99,9 +99,9 @@ qulab/visualization/plot_seq.py,sha256=Uo1-dB1YE9IN_A9tuaOs9ZG3S5dKDQ_l98iD2Wbxp
99
99
  qulab/visualization/qdat.py,sha256=HubXFu4nfcA7iUzghJGle1C86G6221hicLR0b-GqhKQ,5887
100
100
  qulab/visualization/rot3d.py,sha256=jGHJcqj1lEWBUV-W4GUGONGacqjrYvuFoFCwPse5h1Y,757
101
101
  qulab/visualization/widgets.py,sha256=HcYwdhDtLreJiYaZuN3LfofjJmZcLwjMfP5aasebgDo,3266
102
- qulab-2.10.0.dist-info/licenses/LICENSE,sha256=b4NRQ-GFVpJMT7RuExW3NwhfbrYsX7AcdB7Gudok-fs,1086
103
- qulab-2.10.0.dist-info/METADATA,sha256=Ub4cLijllfpKnMHVQaPb2yE8sMBuq7zFv6XksmaVsEQ,3860
104
- qulab-2.10.0.dist-info/WHEEL,sha256=xtqxYTqke_XhXNhgwydvlroVayIzBVjJDMBpIgge99s,101
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=b4NRQ-GFVpJMT7RuExW3NwhfbrYsX7AcdB7Gudok-fs,1086
103
+ qulab-2.10.1.dist-info/METADATA,sha256=EC5vLZMhl-0EVNfyV0x4-RZ0TeB1qbj-xgazIjIGOLI,3860
104
+ qulab-2.10.1.dist-info/WHEEL,sha256=xtqxYTqke_XhXNhgwydvlroVayIzBVjJDMBpIgge99s,101
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