Previous changeset 12:a898ba82496e (2014-03-20) Next changeset 14:43ab59672f78 (2014-03-20) |
Commit message:
Uploaded |
modified:
rgToolFactory.py |
b |
diff -r a898ba82496e -r d5a5f9c2c108 rgToolFactory.py --- a/rgToolFactory.py Thu Mar 20 05:57:09 2014 -0400 +++ b/rgToolFactory.py Thu Mar 20 06:00:21 2014 -0400 |
[ |
@@ -366,7 +366,7 @@ outpif = '%s.py' % self.toolname # new name outpiname = os.path.join(tdir,outpif) # path for the tool tarball pyin = os.path.basename(self.pyfile) # our name - we rewrite ourselves (TM) - notes = ['# %s - a self annotated version of %s generated by running %s\n' % (op,pyin,pyin),] + notes = ['# %s - a self annotated version of %s generated by running %s\n' % (outpiname,pyin,pyin),] notes.append('# to make a new Galaxy tool called %s\n' % self.toolname) notes.append('# User %s at %s\n' % (self.opts.user_email,timenow())) pi = open(self.pyfile,'r').readlines() # our code becomes new tool wrapper (!) - first Galaxy worm |