Skip to content

Commit 646601d

Browse files
committedNov 9, 2018
Merge branch 'master' into make_base_abc
2 parents 5ff2914 + d5ee4a9 commit 646601d

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed
 

‎.dockerignore

+1
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ casa.log
1010
notebooks/
1111
__pycache__
1212
.eggs/
13+
data/

‎Makefile

+5-4
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ VENV=$(CURDIR)/.venv2
77
all: run
88

99
$(VENV):
10-
virtualenv -p python2 ../.venv2
10+
virtualenv -p python2 $(VENV)
1111

1212
$(VENV)/bin/cwltool: $(VENV)
13-
$(VENV)/bin/pip install ..
14-
$(VENV)/bin/pip install -r requirements.txt
13+
$(VENV)/bin/pip install .
14+
$(VENV)/bin/pip install -r cwl/requirements.txt
15+
$(VENV)/bin/pip install -r test/requirements.txt
1516

1617
docker:
1718
docker build . -t apertif/apercal
@@ -24,5 +25,5 @@ data/small: data/${FILE}
2425
cd data && tar zmxvf ${FILE}
2526

2627
run: $(VENV)/bin/cwltool data/small
27-
$(VENV)/bin/cwltool --enable-ext --outdir=cwl/outdir cwl/apercal.cwl cwl/job.yaml
28+
$(VENV)/bin/cwltool --enable-ext --no-compute-checksum --outdir=cwl/outdir cwl/apercal.cwl cwl/job.yaml
2829

‎apercal/libs/lib.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def run_casa(cmd, raise_on_severe=False, timeout=1800):
144144
casa = drivecasa.Casapy()
145145
try:
146146
casa_output, casa_error = casa.run_script(cmd, raise_on_severe=True, timeout=timeout)
147-
logger.debug('\n'.join(casa_output))
147+
logger.debug('\n'.join(casa_error))
148148
except RuntimeError:
149149
logger.error("Casa command failed")
150150
if raise_on_severe:

0 commit comments

Comments
 (0)
Failed to load comments.