LbProdRun 1.4.0__tar.gz → 1.4.1__tar.gz

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.1
2
2
  Name: LbProdRun
3
- Version: 1.4.0
3
+ Version: 1.4.1
4
4
  Summary: CLI for running LHCb applications from LHCbDIRAC
5
5
  Home-page: https://gitlab.cern.ch/lhcb-core/lbprodrun
6
6
  License: GPL-3.0-only
@@ -78,8 +78,10 @@ def execute(job_spec, dry_run=False, interactive=False, prmon=False):
78
78
  elif shutil.which("prmon") is None:
79
79
  typer.secho("Not using prmon as it wasn't found on $PATH!", fg="yellow")
80
80
  else:
81
- command += ["prmon", "--interval", "60"]
81
+ command += ["prmon"]
82
+ command += ["--interval", os.environ.get("LBPRODRUN_PRMON_INTERVAL", "60")]
82
83
  command += ["--filename", f"prmon_{job_spec.output.prefix}.txt"]
84
+ command += ["--json-summary", f"prmon_{job_spec.output.prefix}.json"]
83
85
  command += ["--"]
84
86
 
85
87
  if isinstance(job_spec.application, JobSpecV1.FullDevApplication):
@@ -156,7 +158,8 @@ def _make_lbexec_command(job_spec):
156
158
  def _write_options_yaml(job_spec, path: Path, verbose=False):
157
159
  """Write an options file for lbexec"""
158
160
  options = job_spec.options.extra_options.copy()
159
- options["write_decoding_keys_to_git"] = False
161
+ # FIXME: Can't actually use this option yet as it doesn't fail if the keys are missing
162
+ # options["write_decoding_keys_to_git"] = False
160
163
 
161
164
  if job_spec.input.files:
162
165
  options["input_files"] = job_spec.input.files
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: LbProdRun
3
- Version: 1.4.0
3
+ Version: 1.4.1
4
4
  Summary: CLI for running LHCb applications from LHCbDIRAC
5
5
  Home-page: https://gitlab.cern.ch/lhcb-core/lbprodrun
6
6
  License: GPL-3.0-only
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes