Commit Graph
6 Commits
Author SHA1 Message Date
Nicola Soranzo 90a6c6d46b Fix issues reported by ShellCheck 2019-06-13 12:53:26 +01:00
Nate Coraor 8261a2398a Make the startup scripts play just as nicely with Conda as they do with
virtualenv.
2018-04-04 16:38:01 -04:00
Nicola Soranzo e1be66312b Fix virtualenv activation for some scripts
In particular add virtualenv activation to extract_dataset_parts.sh
to fix the following error when running tools which use
`<parallelism>`:
```
Fatal error:
/tmp/tmpOoQ01k/job_working_directory/000/12/task_0:
Traceback (most recent call last):
File "./scripts/extract_dataset_part.py", line 17, in <module>
import galaxy.model.mapping  # need to load this before we unpickle, in order to setup properties assigned by the mappers
File "/opt/galaxyproject_galaxy_release_17.05/lib/galaxy/model/__init__.py", line 20, in <module>
from six import string_types
ModuleNotFoundError: No module named 'six'
```
2017-09-14 19:58:06 +01:00
John Chilton 865f2d49bd Fix create/manage db scripts to respect GALAXY_VIRTUAL_ENV. 2016-02-29 13:31:17 +00:00
Nate Coraor 367ceae256 Dockerized tests need to create and activate .venv if it does not exist.
Do this by calling common_startup.sh prior to manage_db.sh in
run_test_wrapper.sh. Will require a rebuild of the testing-base image.

Also, have scripts in Galaxy root activate .venv if it exists.
2015-10-16 11:35:52 -04:00
John Duddy 753c29b445 Allow command-line creation of initial database 2011-11-18 12:41:27 -08:00