QuLab 2.10.11__py3-none-any.whl → 2.11.0__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 +1 -1
- qulab/executor/load.py +5 -0
- qulab/version.py +1 -1
- {qulab-2.10.11.dist-info → qulab-2.11.0.dist-info}/METADATA +1 -1
- {qulab-2.10.11.dist-info → qulab-2.11.0.dist-info}/RECORD +9 -9
- {qulab-2.10.11.dist-info → qulab-2.11.0.dist-info}/WHEEL +0 -0
- {qulab-2.10.11.dist-info → qulab-2.11.0.dist-info}/entry_points.txt +0 -0
- {qulab-2.10.11.dist-info → qulab-2.11.0.dist-info}/licenses/LICENSE +0 -0
- {qulab-2.10.11.dist-info → qulab-2.11.0.dist-info}/top_level.txt +0 -0
qulab/executor/cli.py
CHANGED
qulab/executor/load.py
CHANGED
@@ -3,6 +3,7 @@ import inspect
|
|
3
3
|
import os
|
4
4
|
import pickle
|
5
5
|
import shutil
|
6
|
+
import sys
|
6
7
|
import tempfile
|
7
8
|
import time
|
8
9
|
import warnings
|
@@ -322,6 +323,8 @@ def load_workflow_from_file(file_name: str,
|
|
322
323
|
source_code = (base_path / path).read_text()
|
323
324
|
module.__source__ = source_code
|
324
325
|
|
326
|
+
sys.modules[module_name] = module
|
327
|
+
|
325
328
|
if hasattr(module, 'entries'):
|
326
329
|
if veryfy_source_code:
|
327
330
|
verify_entries(module, base_path)
|
@@ -357,6 +360,8 @@ def load_workflow_from_source_code(workflow_id: str,
|
|
357
360
|
module = module_from_spec(spec)
|
358
361
|
spec.loader.exec_module(module)
|
359
362
|
|
363
|
+
sys.modules[module_name] = module
|
364
|
+
|
360
365
|
module.__source__ = source_code
|
361
366
|
module.__mtime__ = 0
|
362
367
|
module.__workflow_id__ = workflow_id
|
qulab/version.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "2.
|
1
|
+
__version__ = "2.11.0"
|
@@ -2,15 +2,15 @@ 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=BdLdlfjpe6m6gSeONYmpAKTTqxDaYHNk4exlz8kZxTg,2982
|
5
|
-
qulab/version.py,sha256=
|
5
|
+
qulab/version.py,sha256=yXmxoMqC_kkv-8BuLYcJC-edL6eCWcvCVYoD14DztL0,22
|
6
6
|
qulab/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
7
|
qulab/cli/commands.py,sha256=hCeyZ4tjTu3aUbex9x_czkU6t9Ti_3F0u3bA8qs6BVQ,625
|
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=
|
13
|
-
qulab/executor/load.py,sha256=
|
12
|
+
qulab/executor/cli.py,sha256=3N4_AodGP1BKm3dZ1mNrRn7EsAiHV0Npfp_iwOW6A7s,15235
|
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
|
16
16
|
qulab/executor/storage.py,sha256=8K73KGLAVgchJdtd4rKHXkr1CQOJORWH-Gi57w8IYsw,21081
|
@@ -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.
|
100
|
-
qulab-2.
|
101
|
-
qulab-2.
|
102
|
-
qulab-2.
|
103
|
-
qulab-2.
|
104
|
-
qulab-2.
|
99
|
+
qulab-2.11.0.dist-info/licenses/LICENSE,sha256=PRzIKxZtpQcH7whTG6Egvzl1A0BvnSf30tmR2X2KrpA,1065
|
100
|
+
qulab-2.11.0.dist-info/METADATA,sha256=uXSsxSk76b_YlpmBKYYAVXbXSTJaJHSWQVocbeOX4mQ,3868
|
101
|
+
qulab-2.11.0.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
|
102
|
+
qulab-2.11.0.dist-info/entry_points.txt,sha256=b0v1GXOwmxY-nCCsPN_rHZZvY9CtTbWqrGj8u1m8yHo,45
|
103
|
+
qulab-2.11.0.dist-info/top_level.txt,sha256=3T886LbAsbvjonu_TDdmgxKYUn939BVTRPxPl9r4cEg,6
|
104
|
+
qulab-2.11.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|