It needs to know where django is, and I didn't include a short form for
identifying flowcells.
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, \
{% if env %}environment={{ env }}{% endif %}
{% for arg in args %}
-arguments="{{ arg.pyscript }} {{ arg.sources.0 }} --verbose {% if arg.flowcell %}-f {{ arg.flowcell }}{% endif %} {% if arg.ispaired %}--left {{ arg.target }} --right {{ arg.target_right }}{% else %}--single {{ arg.target }}{% endif %}"
+arguments="{{ arg.pyscript }} {{ arg.sources.0 }} --verbose {% if arg.flowcell %}--flowcell {{ arg.flowcell }}{% endif %} {% if arg.ispaired %}--left {{ arg.target }} --right {{ arg.target_right }}{% else %}--single {{ arg.target }}{% endif %}"
queue
{% endfor %}