Skip to content
Snippets Groups Projects
Commit 7129f440 authored by Loraine Guéguen's avatar Loraine Guéguen
Browse files

Update for python 3.6

parent 0f358a5f
No related branches found
No related tags found
1 merge request!1Release 1.0
...@@ -7,4 +7,5 @@ ENV/ ...@@ -7,4 +7,5 @@ ENV/
env.bak/ env.bak/
venv.bak/ venv.bak/
.idea .idea
config_phaeoexplorer* config_phaeoexplorer*
\ No newline at end of file *.pyc
...@@ -94,7 +94,7 @@ def check_galaxy_state(genus_lowercase, species, script_dir): ...@@ -94,7 +94,7 @@ def check_galaxy_state(genus_lowercase, species, script_dir):
# Run supervisorctl status in the galaxy container via serexec # Run supervisorctl status in the galaxy container via serexec
galaxy_logs = subprocess.run(["%s/serexec" % script_dir, "{0}_{1}_galaxy".format(genus_lowercase, species), galaxy_logs = subprocess.run(["%s/serexec" % script_dir, "{0}_{1}_galaxy".format(genus_lowercase, species),
"supervisorctl", "status", "galaxy:"], capture_output=True) "supervisorctl", "status", "galaxy:"], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
if "galaxy:galaxy_web RUNNING" in str(galaxy_logs.stdout) \ if "galaxy:galaxy_web RUNNING" in str(galaxy_logs.stdout) \
and "galaxy:handler0 RUNNING" in str(galaxy_logs.stdout) \ and "galaxy:handler0 RUNNING" in str(galaxy_logs.stdout) \
and "galaxy:handler1 RUNNING" in str(galaxy_logs.stdout): and "galaxy:handler1 RUNNING" in str(galaxy_logs.stdout):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment