[hg] galaxy 1675: Fix for a minor bug in my previous commit.
details: http://www.bx.psu.edu/hg/galaxy/rev/3a9c9da987a2 changeset: 1675:3a9c9da987a2 user: guru date: Wed Dec 17 11:25:35 2008 -0500 description: Fix for a minor bug in my previous commit. 1 file(s) affected in this change: scripts/others/incorrect_gops_jobs.py diffs (16 lines): diff -r 006bfb42e335 -r 3a9c9da987a2 scripts/others/incorrect_gops_jobs.py --- a/scripts/others/incorrect_gops_jobs.py Wed Dec 17 11:01:57 2008 -0500 +++ b/scripts/others/incorrect_gops_jobs.py Wed Dec 17 11:25:35 2008 -0500 @@ -64,11 +64,7 @@ if history.user_id: cmd_line = str( job.command_line ) new_output = tempfile.NamedTemporaryFile('w') - if (sa.or_( app.model.Job.table.c.tool_id == 'gops_intersect_1', - app.model.Job.table.c.tool_id == 'gops_subtract_1', - app.model.Job.table.c.tool_id == 'gops_coverage_1' - ) - ): + if job.tool_id in ['gops_intersect_1','gops_subtract_1','gops_coverage_1']: new_cmd_line = " ".join(map(str,cmd_line.split()[:4])) + " " + new_output.name + " " + " ".join(map(str,cmd_line.split()[5:])) job_output = cmd_line.split()[4] else:
participants (1)
-
Nate Coraor