Mercurial > repos > fubar > differential_count_models
comparison rgedgeR/rgToolFactory.py @ 20:42c28d9fc836 draft
Uploaded
| author | fubar |
|---|---|
| date | Sat, 27 Jul 2013 20:57:05 -0400 |
| parents | 372ce0323554 |
| children | 1fe9db11189b |
comparison
equal
deleted
inserted
replaced
| 19:372ce0323554 | 20:42c28d9fc836 |
|---|---|
| 131 tscript.write(self.script) | 131 tscript.write(self.script) |
| 132 tscript.close() | 132 tscript.close() |
| 133 self.indentedScript = '\n'.join([' %s' % x for x in s]) # for restructured text in help | 133 self.indentedScript = '\n'.join([' %s' % x for x in s]) # for restructured text in help |
| 134 self.escapedScript = '\n'.join([html_escape(x) for x in s]) | 134 self.escapedScript = '\n'.join([html_escape(x) for x in s]) |
| 135 self.elog = os.path.join(self.opts.output_dir,"%s_error.log" % self.toolname) | 135 self.elog = os.path.join(self.opts.output_dir,"%s_error.log" % self.toolname) |
| 136 if opts.output_dir: # may not want these complexities | 136 if opts.output_dir: # may not want these complexities |
| 137 self.tlog = os.path.join(self.opts.output_dir,"%s_runner.log" % self.toolname) | 137 self.tlog = os.path.join(self.opts.output_dir,"%s_runner.log" % self.toolname) |
| 138 art = '%s.%s' % (self.toolname,opts.interpreter) | 138 art = '%s.%s' % (self.toolname,opts.interpreter) |
| 139 artpath = os.path.join(self.opts.output_dir,art) # need full path | 139 artpath = os.path.join(self.opts.output_dir,art) # need full path |
| 140 artifact = open(artpath,'w') # use self.sfile as script source for Popen | 140 artifact = open(artpath,'w') # use self.sfile as script source for Popen |
| 141 artifact.write(self.script) | 141 artifact.write(self.script) |
