if len(sys.argv) >= 7:
#use scripts from src/ directly
run_piccl = sys.argv[6]
if run_piccl[-1] != '/': run_piccl += "/"
else:
#use the piccl nextflow downloads
run_piccl = "nextflow LanguageMachines/PICCL/"
In the older versions, the command was invoked as "nextflow run ...."
_PS: If we edit this to
runpiccl = "nextflow run LanguageMachines/PICCL/"
PICCL works
We get this error:
[CLAM Dispatcher] Adding to PYTHONPATH: /vol1/lamachine/lib/python3.4/site-packages/PICCL-0.4.3-py3.4.egg/picclservice
[CLAM Dispatcher] Started CLAM Dispatcher v2.1 with picclservice.picclservice (2018-02-15 13:48:39)
[CLAM Dispatcher] Running /vol1/lamachine/bin/python3 "/vol1/lamachine/lib/python3.4/site-packages/PICCL-0.4.3-py3.4.egg/picclservice/picclservice_wrapper.py" "/vol1/lamachine/piccldata/clamdata/projects/j.de.does@umail.leidenuniv.nl/gaanweweer/clam.xml" "/vol1/lamachine/piccldata/clamdata/projects/j.de.does@umail.leidenuniv.nl/gaanweweer/.status" "/vol1/lamachine/piccldata/clamdata/projects/j.de.does@umail.leidenuniv.nl/gaanweweer/input/" "/vol1/lamachine/piccldata/clamdata/projects/j.de.does@umail.leidenuniv.nl/gaanweweer/output/" "/vol1/lamachine/piccldata"
[CLAM Dispatcher] Running with pid 1565 (2018-02-15 13:48:39)
Expected a command, got LanguageMachines/PICCL/ocr.nf -- Check the available commands and options and syntax with 'help'
OCR pipeline trace summary
-------------------------------
Traceback (most recent call last):
File "/vol1/lamachine/lib/python3.4/site-packages/PICCL-0.4.3-py3.4.egg/picclservice/picclservice_wrapper.py", line 158, in <module>
print(open('trace.txt','r',encoding='utf-8').read(), file=sys.stderr)
FileNotFoundError: [Errno 2] No such file or directory: 'trace.txt'
[CLAM Dispatcher] Process ended (2018-02-15 13:48:41, 1.861522s)
[CLAM Dispatcher] Removing temporary files
[CLAM Dispatcher] Status code out of range (256), setting to 127
[CLAM Dispatcher] Finished (2018-02-15 13:48:41), exit code 127, dispatcher wait time 1.7500000000000002s, duration 1.862349s
In picclservice_wrapper.py we now have:
In the older versions, the command was invoked as "nextflow run ...." _PS: If we edit this to
runpiccl = "nextflow run LanguageMachines/PICCL/" PICCL works
We get this error: