Release Notes¶
Version 0.5.0 (2018-11-05)¶
New Features:
- Adds 
visualizefunction andDagman.visualizemethod for graph visualization. (See PR #122) 
Changes:
- Updates default values of the 
universe,getenv, andnotificationparameters forJobobjects toNone. Now, unless explicitly given, the system defaults will be used. (See PR #115) 
Bug Fixes:
- Switch to using 
os.sepinstead of'/'as a path separator. (See PR #107) - Fixed Windows-compability bug in 
Job.submit_jobandDagman.submit_dag. (See PR #110) - Removes outdated reference to 
dagman_progressinentry_pointsofsetup.py. (See PR #113) - Resolves a 
ResourceWarningandDeprecationWarningraised 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_dagandJob.submit_job. (See PR #120) 
Documentation:
Version 0.4.0 (2018-06-07)¶
New Features:
- Adds the option to initialize a 
Jobwith anargumentsparameter. (See PR #90 and PR #102) - Adds the option to initialize a 
Jobwith aretryparameter, which sets the default number of retries for all arguments of the Job if given. (See PR #90) 
Changes:
- Adds 
FutureWarningabout changing the default values of theuniverse,getenv, andnotificationparameters forJobobjects to None. (See PR #98) - Removes check that a 
Jobexecutable path must exist locally when theJobis being built. (See PR #96) - Adds informative error message when 
Job.submit_jobis called on a machine where thecondor_submitcommand isn’t available. (See PR #83) - Removes deprecated 
maxjobsandkwargsparameters for theJob.submit_job,Job.build_submit,Dagman.submit_dag, andDagman.build_submitmethods. Also removes the deprecateddagman_progresscommand. (See PR #84) 
Bug Fixes:
- Fixes typo in 
pycondor monitorthat was still referencing the olddagman_progresscommand. (See PR #81) 
Version 0.3.0 (2018-03-20)¶
New Features:
- Added 
dagparameter toJobandDagmanobject initializations. (See PR #67) - Added 
submit_optionsparameter toJob.submit_jobandDagman.submit_dagmethods.kwargsandmaxjobsparameters for these methods are deprecated in favor ofsubmit_options. (See PR #71) - Adds 
pycondor submitcommand. Also adds replacesdagman_progresscommand 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 
BaseNodeobjects 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_progresscommand 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 
Jobsubmit 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_subdagclass method. 
Version 0.1.2 (2017-05-26)¶
Changes:
- Adds 
retryoption to the Jobadd_argmethod. This allows the user to specify the number of times to re-submit this node in the Job if the node fails. - Adds 
nameoption to the Jobadd_argmethod. If a name is specified, then a separate set of log, output, and error files will be generated specifically for that node. - Adds 
testsdirectory inpycondor! 
Version 0.1.1 (2017-05-10)¶
Changes:
- Adds 
use_unique_idoption when creating a Job object. This will then create a separate error, log, and output file for each of the arguments in the Jobargslist. - Adds 
extra_linesoption 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_cpusattribute to Job object to make it easier to request a specified number of CPUs. - Adds 
pycondor.get_queue()feature to getcondor_qinformation. - Job and Dagman object methods now return 
self. - Fixed typo in logger formatting.