Mercurial > repos > anmoljh > rcaret_classification_model
comparison modelBuilding.py @ 3:6e81f33a4781 draft
planemo upload commit ed84801645679d29264a5946c6e7669d26c07f39-dirty
| author | anmoljh |
|---|---|
| date | Wed, 18 Oct 2017 07:32:44 -0400 |
| parents | c3cbddd52970 |
| children | 6f20d6bc1dd3 |
comparison
equal
deleted
inserted
replaced
| 2:e92a130f6a18 | 3:6e81f33a4781 |
|---|---|
| 157 | 157 |
| 158 def modelBuilding(): | 158 def modelBuilding(): |
| 159 | 159 |
| 160 import os | 160 import os |
| 161 os.system('R CMD Sweave result-doc.Rnw > cmd.log.1 2>&1') | 161 os.system('R CMD Sweave result-doc.Rnw > cmd.log.1 2>&1') |
| 162 os.system('pdflatex result-doc.tex > cmd.log.2 2>&1') | 162 os.system('R CMD pdflatex result-doc.tex > cmd.log.2 2>&1') |
| 163 os.system('pdflatex result-doc.tex > cmd.log.2 2>&1') | |
| 164 # os.system('pdflatex result-doc.tex 2>&1 | tee cmd.log.2') | |
| 165 args = __inputArguments() | 163 args = __inputArguments() |
| 166 | 164 |
| 167 from string import Template | 165 from string import Template |
| 168 s1 = Template('cp $METHOD-Fit.RData $OUTPUTMODEL') | 166 s1 = Template('cp $METHOD-Fit.RData $OUTPUTMODEL') |
| 169 s2 = Template('cp result-doc.pdf $OUTPUTRESULTPDF') | 167 s2 = Template('cp result-doc.pdf $OUTPUTRESULTPDF') |
