Modified code in the Workflow __init__ method to use the same utils.epochdate function instead of replicating code. Added code to push any altenative jobstate.log file into the sub-workflows too. In this case, if a user specifies an alternative output file such as -j foo.log, pegasus-monitord will create a foo.log file in each workflow and sub-workflow run direcoty. If the user specifies an absolute file name, pegasus-monitord will disable sub-workflow parsing and output a warning message. When using the replay option together with the database mode, pegasus monitord will check if the sqlite database specified by the user exists, and if so, purge from it all references to the workflow id (and all of its sub-workflows) before execution starts. Note that this will only happen if we are using a SQLite database. This will resolve the problem when the database already contains the same data and as a result gives numerous integrity error messages. This should complete the fix for JIRA issue PM-232.
Modified code in the Workflow __init__ method to use the same utils.epochdate function instead of replicating code. Added code to push any altenative jobstate.log file into the sub-workflows too. In this case, if a user specifies an alternative output file such as -j foo.log, pegasus-monitord will create a foo.log file in each workflow and sub-workflow run direcoty. If the user specifies an absolute file name, pegasus-monitord will disable sub-workflow parsing and output a warning message. When using the replay option together with the database mode, pegasus monitord will check if the sqlite database specified by the user exists, and if so, purge from it all references to the workflow id (and all of its sub-workflows) before execution starts. Note that this will only happen if we are using a SQLite database. This will resolve the problem when the database already contains the same data and as a result gives numerous integrity error messages. This should complete the fix for JIRA issue PM-232.

pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus