[med-svn] [biomaj3-process] 01/04: New upstream version 3.0.8

Olivier Sallou osallou at debian.org
Wed Aug 30 07:19:52 UTC 2017


This is an automated email from the git hooks/post-receive script.

osallou pushed a commit to branch master
in repository biomaj3-process.

commit 1f5aef8da1cd0e01d7b1ccc8c1530a4f4ba4c3bf
Author: Olivier Sallou <osallou at debian.org>
Date:   Wed Aug 30 07:16:45 2017 +0000

    New upstream version 3.0.8
---
 CHANGES.txt               | 2 ++
 README.md                 | 8 ++++----
 biomaj_process/process.py | 4 ++--
 config.yml                | 1 -
 setup.py                  | 2 +-
 5 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/CHANGES.txt b/CHANGES.txt
index 162af9b..4f7ef30 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,3 +1,5 @@
+3.0.8:
+  Fix #1, DRMAA needs colon in front of output and error path (mandatory depending on versions)
 3.0.7:
   fix case if process desc or type is missing in bank properties
 3.0.6:
diff --git a/README.md b/README.md
index 35cca55..b069001 100644
--- a/README.md
+++ b/README.md
@@ -33,9 +33,9 @@ If you cloned the repository and installed it via python setup.py install, just
 
 
     export BIOMAJ_CONFIG=path_to_config.yml
-    rm -rf ..path_to/godocker-prometheus-multiproc
-    mkdir -p ..path_to/godocker-prometheus-multiproc
-    export prometheus_multiproc_dir=..path_to/godocker-prometheus-multiproc
-    gunicorn biomaj_download.biomaj_process_web:app
+    rm -rf ..path_to/prometheus-multiproc
+    mkdir -p ..path_to/prometheus-multiproc
+    export prometheus_multiproc_dir=..path_to/prometheus-multiproc
+    gunicorn -c ..path_to/gunicorn_conf.py biomaj_download.biomaj_process_web:app
 
 Web processes should be behind a proxy/load balancer, API base url /api/download
diff --git a/biomaj_process/process.py b/biomaj_process/process.py
index a040714..495e32e 100644
--- a/biomaj_process/process.py
+++ b/biomaj_process/process.py
@@ -338,8 +338,8 @@ class DrmaaProcess(Process):
                     jt.jobEnvironment = self.bank_env
                     if self.native:
                         jt.nativeSpecification = " " + self.native + " "
-                    jt.outputPath = self.output_file
-                    jt.errorPath = self.error_file
+                    jt.outputPath = ':' + self.output_file
+                    jt.errorPath = ':' + self.error_file
                     jobid = s.runJob(jt)
                     retval = s.wait(jobid, drmaa.Session.TIMEOUT_WAIT_FOREVER)
                     if retval.hasExited > 0:
diff --git a/config.yml b/config.yml
index 6645d15..bfaf214 100644
--- a/config.yml
+++ b/config.yml
@@ -2,7 +2,6 @@
 
 redis:
     host: '127.0.0.1'
-    #host: '131.254.17.40'
     port: 6379
     db: 0
     prefix: 'biomaj'
diff --git a/setup.py b/setup.py
index 16ff240..763a644 100644
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,7 @@ config = {
     'url': 'http://biomaj.genouest.org',
     'download_url': 'http://biomaj.genouest.org',
     'author_email': 'olivier.sallou at irisa.fr',
-    'version': '3.0.7',
+    'version': '3.0.8',
      'classifiers': [
         # How mature is this project? Common values are
         #   3 - Alpha

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/biomaj3-process.git



More information about the debian-med-commit mailing list