chmod +x sav_gol
cd ..
+# TODO copy sav_gol other from disembl
echo "Compiling GlobPlot..."
cd globplot
echo "DONE"
import os
from os import system,popen3
-relpath = re.sub("/GlobPipe.py$","",argv[0])
-newpath =os.getcwd()+"/"+relpath+"/biopython-1.50"
+relpath = re.sub("/GlobPlot.py$","",argv[0])
+# cwd = re.sub("/$","", os.getcwd())
+newpath = relpath + "/biopython-1.50"
sys.path.append(newpath)
import Bio
chmod +x disembl/disembl disembl/sav_gol disembl/DisEMBL.py
echo "Setting executable flag for GlobPlot..."
-chmod +x globplot/GlobPlot.py
+chmod +x globplot/GlobPlot.py globplot/sav_gol
#local.disembl.bin.windows= \r
local.disembl.bin=binaries/src/disembl/DisEMBL.py\r
cluster.disembl.bin=/homes/pvtroshin/workspace/jaba2/binaries/src/disembl/DisEMBL.py\r
-disembl.parameters.file=conf/settings/DisemblParameters.xml\r
+# disembl.parameters.file=conf/settings/DisemblParameters.xml\r
disembl.limits.file=conf/settings/DisemblLimits.xml\r
disembl.cluster.settings=-l h_cpu=24:00:00 -l h_vmem=6000M -l ram=6000M\r
\r
#local.disembl.bin.windows= \r
local.globplot.bin=binaries/src/globplot/GlobPlot.py\r
cluster.globplot.bin=/homes/pvtroshin/workspace/jaba2/binaries/src/globplot/GlobPlot.py\r
-globplot.parameters.file=conf/settings/GlobPlotParameters.xml\r
+# globplot.parameters.file=conf/settings/GlobPlotParameters.xml\r
globplot.limits.file=conf/settings/GlobPlotLimits.xml\r
globplot.cluster.settings=-l h_cpu=24:00:00 -l h_vmem=6000M -l ram=6000M\r
\r
\r
\r
\r
+If executable does not support parameters do not add a reference to the XXXParameter.xml \r
+file into the Executable.properties file. Do the same for Presets\r
+\r
+\r
+ \r
+\r
+\r
try {\r
inStream = new FileInputStream(new File(workDirectory, getOutput()));\r
results = SequenceUtil.removeSequences(SequenceUtil\r
- .readDisembl(inStream));\r
+ .readGlobPlot(inStream));\r
inStream.close();\r
} catch (FileNotFoundException e) {\r
log.error(e.getMessage(), e.getCause());\r
try {\r
RunnerConfig<Disembl> disemblConfig = ConfExecutable\r
.getRunnerOptions(Disembl.class);\r
- assertNotNull(disemblConfig);\r
// There is no disembl parameters\r
- assertTrue(disemblConfig.getArguments().size() == 0);\r
+ assertNull(disemblConfig);\r
+\r
+ //If there were a DisemblParameter.xml file and reference to it, \r
+ // it would be like that \r
+ // assertTrue(disemblConfig.getArguments().size() == 0);\r
\r
PresetManager<Disembl> disemblPresets = ConfExecutable\r
.getRunnerPresets(Disembl.class);\r
@Test(groups = {AllTestSuit.test_group_runner})\r
public void testConfigurationLoading() {\r
try {\r
- RunnerConfig<GlobPlot> disemblConfig = ConfExecutable\r
+ RunnerConfig<GlobPlot> globplotConfig = ConfExecutable\r
.getRunnerOptions(GlobPlot.class);\r
- assertNotNull(disemblConfig);\r
- // There is no disembl parameters\r
- assertTrue(disemblConfig.getArguments().size() == 0);\r
-\r
+ // There is no GlobPlot parameters \r
+ assertNull(globplotConfig);\r
+ \r
PresetManager<GlobPlot> disemblPresets = ConfExecutable\r
.getRunnerPresets(GlobPlot.class);\r
assertNull(disemblPresets); // there is no presets\r