QuLab 2.11.4__py3-none-any.whl → 2.11.5__py3-none-any.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/cli.py +6 -0
- qulab/version.py +1 -1
- {qulab-2.11.4.dist-info → qulab-2.11.5.dist-info}/METADATA +1 -1
- {qulab-2.11.4.dist-info → qulab-2.11.5.dist-info}/RECORD +8 -8
- {qulab-2.11.4.dist-info → qulab-2.11.5.dist-info}/WHEEL +0 -0
- {qulab-2.11.4.dist-info → qulab-2.11.5.dist-info}/entry_points.txt +0 -0
- {qulab-2.11.4.dist-info → qulab-2.11.5.dist-info}/licenses/LICENSE +0 -0
- {qulab-2.11.4.dist-info → qulab-2.11.5.dist-info}/top_level.txt +0 -0
qulab/executor/cli.py
CHANGED
@@ -258,6 +258,12 @@ def load(file, api, format):
|
|
258
258
|
import pickle
|
259
259
|
with open(file, 'rb') as f:
|
260
260
|
cfg = pickle.load(f)
|
261
|
+
elif format == 'report':
|
262
|
+
from .storage import get_report_by_index
|
263
|
+
report = get_report_by_index(int(file))
|
264
|
+
cfg = report.config
|
265
|
+
if cfg is None:
|
266
|
+
raise ValueError(f'No config found for report {file}')
|
261
267
|
else:
|
262
268
|
raise ValueError(f'Unknown format: {format}')
|
263
269
|
reg.clear()
|
qulab/version.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "2.11.
|
1
|
+
__version__ = "2.11.5"
|
@@ -2,14 +2,14 @@ qulab/__init__.py,sha256=hmf6R3jiM5NtJY1mSptogYnH5DMTR2dTzlXykqLxQzg,2027
|
|
2
2
|
qulab/__main__.py,sha256=fjaRSL_uUjNIzBGNgjlGswb9TJ2VD5qnkZHW3hItrD4,68
|
3
3
|
qulab/typing.py,sha256=vg62sGqxuD9CI5677ejlzAmf2fVdAESZCQjAE_xSxPg,69
|
4
4
|
qulab/utils.py,sha256=w5oSw9Ypux6l0oB-MzlQvT40iX_rzQ5wXcwzr7CIVf8,4107
|
5
|
-
qulab/version.py,sha256=
|
5
|
+
qulab/version.py,sha256=fNipWoN2EmgidscGxW-j_-B8q7t8BEt85UV6DPo_yRA,22
|
6
6
|
qulab/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
7
|
qulab/cli/commands.py,sha256=ywKmwbGNBCVASx8OsgrRttaLz9ogwY38ZdKj7I-tdJ4,813
|
8
8
|
qulab/cli/config.py,sha256=tZPSBLbf2x_Brb2UBuA1bsni8nC8WOPPGyWIi8m7j1I,5459
|
9
9
|
qulab/cli/decorators.py,sha256=oImteZVnDPPWdyhJ4kzf2KYGJLON7VsKGBvZadWLQZo,621
|
10
10
|
qulab/executor/__init__.py,sha256=LosPzOMaljSZY1thy_Fxtbrgq7uubJszMABEB7oM7tU,101
|
11
11
|
qulab/executor/analyze.py,sha256=4Hau5LrKUdpweh7W94tcG4ahgxucHOevbM0hm57T7zE,5649
|
12
|
-
qulab/executor/cli.py,sha256=
|
12
|
+
qulab/executor/cli.py,sha256=ToFVaLnCHCxlpJQG9_LF1XIdPUJyfI_zx2C3lk3s9OA,18727
|
13
13
|
qulab/executor/load.py,sha256=eMlzOrrn8GpbP3J3uY5JJ8iO7tL5B1DWP1z2qiGyNhU,20385
|
14
14
|
qulab/executor/registry.py,sha256=gym9F5FIDY5eV-cSCZsP99wC4l-6jkx9VMjJMaPOLaQ,4730
|
15
15
|
qulab/executor/schedule.py,sha256=7gAJFwj13j1niGjVa1fSzwOS22eNFEN1hdrN3dfTY6A,21410
|
@@ -96,9 +96,9 @@ qulab/visualization/plot_seq.py,sha256=UWTS6p9nfX_7B8ehcYo6UnSTUCjkBsNU9jiOeW2ca
|
|
96
96
|
qulab/visualization/qdat.py,sha256=ZeevBYWkzbww4xZnsjHhw7wRorJCBzbG0iEu-XQB4EA,5735
|
97
97
|
qulab/visualization/rot3d.py,sha256=lMrEJlRLwYe6NMBlGkKYpp_V9CTipOAuDy6QW_cQK00,734
|
98
98
|
qulab/visualization/widgets.py,sha256=6KkiTyQ8J-ei70LbPQZAK35wjktY47w2IveOa682ftA,3180
|
99
|
-
qulab-2.11.
|
100
|
-
qulab-2.11.
|
101
|
-
qulab-2.11.
|
102
|
-
qulab-2.11.
|
103
|
-
qulab-2.11.
|
104
|
-
qulab-2.11.
|
99
|
+
qulab-2.11.5.dist-info/licenses/LICENSE,sha256=PRzIKxZtpQcH7whTG6Egvzl1A0BvnSf30tmR2X2KrpA,1065
|
100
|
+
qulab-2.11.5.dist-info/METADATA,sha256=HUf9_g4vh9bEiGfmG0uO8WcL10bnkUvw5DfveaLro4w,3896
|
101
|
+
qulab-2.11.5.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
|
102
|
+
qulab-2.11.5.dist-info/entry_points.txt,sha256=b0v1GXOwmxY-nCCsPN_rHZZvY9CtTbWqrGj8u1m8yHo,45
|
103
|
+
qulab-2.11.5.dist-info/top_level.txt,sha256=3T886LbAsbvjonu_TDdmgxKYUn939BVTRPxPl9r4cEg,6
|
104
|
+
qulab-2.11.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|