Skip to content

Commit

Permalink
Fix to automate plugin accepting additional PALADIN parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
ToniWestbrook committed Apr 12, 2017
1 parent 4954187 commit b4d0a1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 186 deletions.
4 changes: 2 additions & 2 deletions plugins/automate.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def pluginConnect(passDefinition):
passDefinition.description = 'Automate PALADIN execution across multiple sets of reads'
passDefinition.versionMajor = 1
passDefinition.versionMinor = 0
passDefinition.versionRevision = 0
passDefinition.versionRevision = 1

#passDefinition.callbackInit = automateInit
passDefinition.callbackMain = automateMain
Expand All @@ -64,7 +64,7 @@ def automateMain(passArguments):
baseName = os.path.join(root, baseName)
fullFile = os.path.join(root, fileName)

command = "paladin align {0} {1} -o {2} {3}".format(arguments[0].reference, fullFile, baseName, arguments[0].options)
command = "paladin align {0} {1} -o {2} {3}".format(arguments[0].reference, fullFile, baseName, ' '.join(arguments[0].options))
output = subprocess.check_output(command, stderr=subprocess.STDOUT, shell=True)

with open("{0}.log".format(baseName), 'wb') as fileHandle:
Expand Down
184 changes: 0 additions & 184 deletions plugins/graphing.py

This file was deleted.

0 comments on commit b4d0a1f

Please sign in to comment.