- Fixed use of
np.NaN
to ensure compatibility withnumpy 2.0
.
- Fixing
job_submitter
: Do not transfer any output files, when theoutput_destination
is given.
- Fixing
job_submitter
: Discovers more invalid URIs.
- Fixing
job_submitter
: type error inprint_stats
, when job-names are integers.
-
General code cleanup/refactoring/documentation:
- Partly breaks backward compatibility, if individual methods of the
job_submitter
-functionality have been used. - Does not affect any setups simply calling the
main()
function ofjob_submitter.py
or calling thejob_submitter
as a module. - Apart from some fixed imports, following the new structure, the
autosix
module has been untouched.
- Partly breaks backward compatibility, if individual methods of the
-
New Feature of
job_submitter
:output_destination
input parameter, which sets an output directory in which the folder-stucture for the jobs will be replicated and the job'sjob_output_dir
will be copied into "manually" at the end of the job, instead of having the directory transferred back to theworking directory
by htcondor.
- Uses
concat
instead ofappend
to stack the DataFrames.
This release adds some changes the autosix
module:
-
New Features:
- Added
sixdesk_directory
option, which allows the user to choose their own sixdesk environment (default is PRO on AFS). - Added
max_materialize
option, which allows the user to specify the amount of jobs that materialize at once per SixDesk Workspace (i.e. one realization in thereplace_dict
). This enables the user to send more jobs to HTCondor than are allowed within their user limit. See the HTCondor API for details. This option requires writing rights in thesixdesk_directory
. - Allow
ENERGY
andEMITTANCE
to be set viareplace_dict
, which are then passed to thesixdeskenv
(GAMMA
is calculated from theEMITTANCE
automatically).
- Added
-
Changes:
- Big object-oriented restructuring of the Stages and increased use of Dataclasses.
- Some other small changes to improve readablity.
- Fixed the DA-Plot labels from
sigma [sigma]
toDA [sigma]
Version 1.0.1
is a patch release.
- Fixed:
- Fixed an issue where the
config.ini
file created during submission would be saved in thesite-packages
instead of the specifiedworking_directory
if the submitter was installed and called as a module (python -m pylhc_submitter.job_submitter ...
) (pull/16). - Fixed an issue where
%
characters in a config file used for submission would cause the parameter parsing to crash (pull/16). - Stopped the use of
OrderedDict
which would be written down to theconfig.ini
file and prevent further use of said file (pull/16).
- Fixed an issue where the
First stable version of pylhc_submitter
.
Important notice: this release does not break backwards compatibility with previous versions of the submitter.
Studies that were parametrized and submitted with previous versions of pylhc.job_submitter
can be ran again seamlessly with this tool from their config.ini
file.
-
Added:
- The
job_submitter
now creates the HTCondor.sub
file when given thedryrun
flag. - The
job_submitter
now accepts the use of a mask string instead of a mask file.
- The
-
Removed:
- Remove dependency on
omc3
.
- Remove dependency on
-
Changed:
- License changed from
PyLHC
's GPLv3 to an MIT license.
- License changed from
Initial version extracted from the pylhc/PyLHC repository.