projects
/
htsworkflow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix issues introduced when switching to the django templating system for fastq genera...
[htsworkflow.git]
/
encode_submission
/
ucsc_gather.py
diff --git
a/encode_submission/ucsc_gather.py
b/encode_submission/ucsc_gather.py
index c45e3820bbc8b9f146684bef9ed8f5443fb03f8e..811ffdfc277373e86b6f0f3fe7f9782463c8bdb0 100644
(file)
--- a/
encode_submission/ucsc_gather.py
+++ b/
encode_submission/ucsc_gather.py
@@
-21,6
+21,9
@@
from zipfile import ZipFile
import RDF
+if not 'DJANGO_SETTINGS_MODULE' in os.environ:
+ os.environ['DJANGO_SETTINGS_MODULE'] = 'htsworkflow.settings'
+
from htsworkflow.util import api
from htsworkflow.util.rdfhelp import \
dafTermOntology, \