Closed dentearl closed 12 years ago
Be my guest..
On Fri, Nov 2, 2012 at 10:58 AM, Dent Earl notifications@github.com wrote:
optparse http://docs.python.org/2/library/optparse.html is deprecated, argparse http://docs.python.org/2/library/argparse.html#module-argparseis the replacement. This can be patched by checking the .class of the input in the addOptions() function contained in jobTree.src.jobTreeRun BUT will also need to be changed in sonLib.bioio addLoggingOptions(). I think the way jobTree and sonLib have used optparse is generic enough that the transition would be transparent to script writers.
— Reply to this email directly or view it on GitHubhttps://github.com/benedictpaten/jobTree/issues/6.
Changes applied in jobTree commit 33c4defbbb542183bbf2e60e712c552c770346ce and sonLib commit 995fdccf65cce7180899f2dbe1a966dcb6b2ba13. Closing.
optparse is deprecated, argparse is the replacement. This can be patched by checking the .class of the input in the addOptions() function contained in jobTree.src.jobTreeRun BUT will also need to be changed in sonLib.bioio addLoggingOptions(). I think the way jobTree and sonLib have used optparse is generic enough that the transition would be transparent to script writers.