Release Notes¶
Version 0.5.0 (2018-11-05)¶
New Features:
- Adds
visualize
function andDagman.visualize
method for graph visualization. (See PR #122)
Changes:
- Updates default values of the
universe
,getenv
, andnotification
parameters forJob
objects toNone
. Now, unless explicitly given, the system defaults will be used. (See PR #115)
Bug Fixes:
- Switch to using
os.sep
instead of'/'
as a path separator. (See PR #107) - Fixed Windows-compability bug in
Job.submit_job
andDagman.submit_dag
. (See PR #110) - Removes outdated reference to
dagman_progress
inentry_points
ofsetup.py
. (See PR #113) - Resolves a
ResourceWarning
andDeprecationWarning
raised while running the tests. (See PR #116) - Properly handles bytes arrays in
get_condor_version
. (See PR #119) - Fixed a string formatting bug in
Dagman.submit_dag
andJob.submit_job
. (See PR #120)
Documentation:
Version 0.4.0 (2018-06-07)¶
New Features:
- Adds the option to initialize a
Job
with anarguments
parameter. (See PR #90 and PR #102) - Adds the option to initialize a
Job
with aretry
parameter, which sets the default number of retries for all arguments of the Job if given. (See PR #90)
Changes:
- Adds
FutureWarning
about changing the default values of theuniverse
,getenv
, andnotification
parameters forJob
objects to None. (See PR #98) - Removes check that a
Job
executable path must exist locally when theJob
is being built. (See PR #96) - Adds informative error message when
Job.submit_job
is called on a machine where thecondor_submit
command isn’t available. (See PR #83) - Removes deprecated
maxjobs
andkwargs
parameters for theJob.submit_job
,Job.build_submit
,Dagman.submit_dag
, andDagman.build_submit
methods. Also removes the deprecateddagman_progress
command. (See PR #84)
Bug Fixes:
- Fixes typo in
pycondor monitor
that was still referencing the olddagman_progress
command. (See PR #81)
Version 0.3.0 (2018-03-20)¶
New Features:
- Added
dag
parameter toJob
andDagman
object initializations. (See PR #67) - Added
submit_options
parameter toJob.submit_job
andDagman.submit_dag
methods.kwargs
andmaxjobs
parameters for these methods are deprecated in favor ofsubmit_options
. (See PR #71) - Adds
pycondor submit
command. Also adds replacesdagman_progress
command withpycondor monitor
. (See PR #73)
Changes:
- Added a check for illegal characters in Dagman submit file node names when running HTCondor version 8.7.2 or newer. (See PR #66)
Bug Fixes:
- Fixed bug so that
BaseNode
objects set their submit attribute to the current working directory if not provided directly or set via an environment variable. (See PR #75)
Version 0.2.0 (2017-11-22)¶
New Features:
- Added
dagman_progress
command line tool for displaying a progress bar for Dagman jobs. (See PR #45 and PR #52) - Added environment variable option for setting submit, error, log, and output directories. (See PR #50)
Bug Fixes:
- Fixed bug where the queue parameter for a Job was not written to the job submit file when the Job was built by a Dagman. (See PR #42)
- Fixed bug that caused a filename mismatch between a
Job
submit file and the error/log/output files when a named argument is added to a Job, and the Job is built withfancyname=True
. (See PR #48) - Fixed the Dagman submit file build procedure to include the name of Job named arguments in the Dagman node name (See PR #53)
Version 0.1.4 (2017-06-08)¶
Changes:
- Fixes bug where Jobs that have no arguments, when submitted from a Dagman, were not included in the dag submit file. (See Issue #33)
Version 0.1.3 (2017-06-07)¶
Changes:
- Adds subdag support. Now Dagman objects can be added to other Dagman object with the new
add_subdag
class method.
Version 0.1.2 (2017-05-26)¶
Changes:
- Adds
retry
option to the Jobadd_arg
method. This allows the user to specify the number of times to re-submit this node in the Job if the node fails. - Adds
name
option to the Jobadd_arg
method. If a name is specified, then a separate set of log, output, and error files will be generated specifically for that node. - Adds
tests
directory inpycondor
!
Version 0.1.1 (2017-05-10)¶
Changes:
- Adds
use_unique_id
option when creating a Job object. This will then create a separate error, log, and output file for each of the arguments in the Jobargs
list. - Adds
extra_lines
option when creating a Dagman object (similar to the Job object). - Replaces all occurances of
os.system()
withsubprocess.Popen()
. This won’t affect anything the user touches, just modernizing under-the-hood stuff.
Version 0.1.0 (2017-04-19)¶
Changes:
- Adds
request_cpus
attribute to Job object to make it easier to request a specified number of CPUs. - Adds
pycondor.get_queue()
feature to getcondor_q
information. - Job and Dagman object methods now return
self
. - Fixed typo in logger formatting.