QuLab 2.7.11__cp311-cp311-win_amd64.whl → 2.7.12__cp311-cp311-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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: QuLab
3
- Version: 2.7.11
3
+ Version: 2.7.12
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,17 +1,17 @@
1
1
  qulab/__init__.py,sha256=RZme5maBSMZpP6ckXymqZpo2sRYttwEpTYCIzIvys1c,292
2
2
  qulab/__main__.py,sha256=FL4YsGZL1jEtmcPc5WbleArzhOHLMsWl7OH3O-1d1ss,72
3
3
  qulab/dicttree.py,sha256=ZoSJVWK4VMqfzj42gPb_n5RqLlM6K1Me0WmLIfLEYf8,14195
4
- qulab/fun.cp311-win_amd64.pyd,sha256=_hMMu2UoQ3yN4lnys2JMZerHezGvXi7COeVHn_U6Nik,31744
4
+ qulab/fun.cp311-win_amd64.pyd,sha256=ZACsFh3Kpuhtm3fDXsIF9Pm4BakN2KT5EejPAkLEA6g,31744
5
5
  qulab/typing.py,sha256=PRtwbCHWY2ROKK8GHq4Bo8llXrIGo6xC73DrQf7S9os,71
6
6
  qulab/utils.py,sha256=UyZNPIyvis5t2MJBkXXLO5EmYP3mQZbt87zmYAHgoyk,1291
7
- qulab/version.py,sha256=1KL8md1HXIKNwnebAea7SJ7-uBme-7LHKGfuCG29ZiU,22
7
+ qulab/version.py,sha256=lU1Df-qhbluQkmwozAIUZOHD7dGWclt66rz4f2uhpqA,22
8
8
  qulab/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  qulab/cli/commands.py,sha256=6xd2eYw32k1NmfAuYSu__1kaP12Oz1QVqwbkYXdWno4,588
10
- qulab/cli/config.py,sha256=tNmH4ggdgrFqcQa2WZKLpidiYTg95_UnT0paDJ4fi4c,3204
10
+ qulab/cli/config.py,sha256=7h3k0K8FYHhI6LVWt8BoDdKrX2ApFDBAUAUuXhHwst4,3799
11
11
  qulab/executor/__init__.py,sha256=LosPzOMaljSZY1thy_Fxtbrgq7uubJszMABEB7oM7tU,101
12
12
  qulab/executor/cli.py,sha256=gGka2M6xccfM8facsIJ2qZ1y2Yx8C4BRhc1JG6nK9mo,8932
13
13
  qulab/executor/load.py,sha256=4FY_SwumLDUewC265v4j_ZGGpfYOgH4c8PtglYcWpBw,18077
14
- qulab/executor/schedule.py,sha256=137OlWojJICEsq2BSz1ybOa1Gy8-f8U4KSC6YLgdjZ4,18061
14
+ qulab/executor/schedule.py,sha256=YmVD0NH2YouAjWHjky_0IVfYv23J9upYFOxy8gVfJqw,18454
15
15
  qulab/executor/storage.py,sha256=gI6g28BmKKEZ_Pl-hFwvpiOj3mF8Su-yjj3hfMXs1VY,11630
16
16
  qulab/executor/transform.py,sha256=4DyGXv1Iw36cCPqbqXlsn0Lw6gFjQpp_6Hcta50YQxU,2181
17
17
  qulab/executor/utils.py,sha256=cF6-2jlvlHyTjNHdxXKG04Fjfm3_3wfDQAF1G8DQphk,5686
@@ -94,9 +94,9 @@ qulab/visualization/plot_seq.py,sha256=Uo1-dB1YE9IN_A9tuaOs9ZG3S5dKDQ_l98iD2Wbxp
94
94
  qulab/visualization/qdat.py,sha256=HubXFu4nfcA7iUzghJGle1C86G6221hicLR0b-GqhKQ,5887
95
95
  qulab/visualization/rot3d.py,sha256=jGHJcqj1lEWBUV-W4GUGONGacqjrYvuFoFCwPse5h1Y,757
96
96
  qulab/visualization/widgets.py,sha256=HcYwdhDtLreJiYaZuN3LfofjJmZcLwjMfP5aasebgDo,3266
97
- QuLab-2.7.11.dist-info/LICENSE,sha256=b4NRQ-GFVpJMT7RuExW3NwhfbrYsX7AcdB7Gudok-fs,1086
98
- QuLab-2.7.11.dist-info/METADATA,sha256=ZWK3GzveHjjVhPbhGV2e3XIGxCSbmsU3KgUlb4-nwEo,3804
99
- QuLab-2.7.11.dist-info/WHEEL,sha256=yNnHoQL2GZYIUXm9YvoaBpFjGlUoK9qq9oqYeudrWlE,101
100
- QuLab-2.7.11.dist-info/entry_points.txt,sha256=b0v1GXOwmxY-nCCsPN_rHZZvY9CtTbWqrGj8u1m8yHo,45
101
- QuLab-2.7.11.dist-info/top_level.txt,sha256=3T886LbAsbvjonu_TDdmgxKYUn939BVTRPxPl9r4cEg,6
102
- QuLab-2.7.11.dist-info/RECORD,,
97
+ QuLab-2.7.12.dist-info/LICENSE,sha256=b4NRQ-GFVpJMT7RuExW3NwhfbrYsX7AcdB7Gudok-fs,1086
98
+ QuLab-2.7.12.dist-info/METADATA,sha256=4oRSl28x1dKvEJco6x9J3NWas5V_zzklpGnCgIe1NHE,3804
99
+ QuLab-2.7.12.dist-info/WHEEL,sha256=yNnHoQL2GZYIUXm9YvoaBpFjGlUoK9qq9oqYeudrWlE,101
100
+ QuLab-2.7.12.dist-info/entry_points.txt,sha256=b0v1GXOwmxY-nCCsPN_rHZZvY9CtTbWqrGj8u1m8yHo,45
101
+ QuLab-2.7.12.dist-info/top_level.txt,sha256=3T886LbAsbvjonu_TDdmgxKYUn939BVTRPxPl9r4cEg,6
102
+ QuLab-2.7.12.dist-info/RECORD,,
qulab/cli/config.py CHANGED
@@ -68,6 +68,10 @@ def log_options(func):
68
68
  type=click.Path(),
69
69
  default=lambda: get_config_value("log", Path),
70
70
  help=f"Log file path")
71
+ @click.option("--debug-log",
72
+ type=click.Path(),
73
+ default=lambda: get_config_value("debug_log", Path),
74
+ help=f"Debug log file path")
71
75
  @click.option("--quiet",
72
76
  is_flag=True,
73
77
  default=get_config_value("quiet", bool),
@@ -76,6 +80,7 @@ def log_options(func):
76
80
  def wrapper(*args, **kwargs):
77
81
  debug = bool(kwargs.pop("debug"))
78
82
  log = kwargs.pop("log")
83
+ debug_log = kwargs.pop("debug_log")
79
84
  quiet = bool(kwargs.pop("quiet"))
80
85
 
81
86
  if debug:
@@ -85,7 +90,17 @@ def log_options(func):
85
90
 
86
91
  handlers = []
87
92
  if log is not None:
88
- handlers.append(dict(sink=log, level=log_level))
93
+ handlers.append(
94
+ dict(sink=log,
95
+ level="INFO",
96
+ rotation="monday at 7:00",
97
+ compression="zip"))
98
+ if debug_log is not None:
99
+ handlers.append(
100
+ dict(sink=debug_log,
101
+ level="DEBUG",
102
+ rotation="monday at 7:00",
103
+ compression="zip"))
89
104
  if not quiet or debug:
90
105
  handlers.append(dict(sink=sys.stderr, level=log_level))
91
106
 
@@ -387,6 +387,7 @@ def diagnose(workflow: WorkflowType, code_path: str | Path,
387
387
  f'"{workflow.__workflow_id__}": All dependents passed, but calibration failed!'
388
388
  )
389
389
  update_parameters(report, state_path)
390
+ logger.debug(f'"{workflow.__workflow_id__}": parameters updated')
390
391
  return True
391
392
 
392
393
 
@@ -451,6 +452,9 @@ def maintain(workflow: WorkflowType,
451
452
  )
452
453
  if not freeze:
453
454
  update_parameters(report, state_path)
455
+ logger.debug(f'"{workflow.__workflow_id__}": parameters updated')
456
+ else:
457
+ logger.debug(f'"{workflow.__workflow_id__}": parameters freezed')
454
458
  return
455
459
 
456
460
 
@@ -471,4 +475,7 @@ def run(workflow: WorkflowType,
471
475
  )
472
476
  if not freeze:
473
477
  update_parameters(report, state_path)
478
+ logger.debug(f'"{workflow.__workflow_id__}": parameters updated')
479
+ else:
480
+ logger.debug(f'"{workflow.__workflow_id__}": parameters freezed')
474
481
  return
Binary file
qulab/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "2.7.11"
1
+ __version__ = "2.7.12"
File without changes