Fix some mismatches between variable names in python code and in templates
[htsworkflow.git] / htsworkflow / templates / srf.condor
index 1c8e8547e02d7137a2898045648d1dc354e55d26..4428529ffde117f9649587ef854d33c64d4ea8b3 100644 (file)
@@ -1,9 +1,9 @@
 Universe=vanilla
-executable={{ exe }}
+executable={{ python }}
 error={{ logdir }}/fastq.$(process).out
 output={{ logdir }}/fastq.$(process).out
 log={{ logdir }}/fastq.log
-{% if env %}environment={{ env }}{% endif %}
+{% if env %}environment="{{env}}"{% endif %}
 
 {% for arg in args %}
 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 %}"