fixed bug that caused test0001 to fail finding lipase module

This commit is contained in:
Guillaume Raffy 2019-07-17 19:11:14 +02:00
parent 04e46b27dd
commit d50cd1825e
2 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,3 @@
./Fiji.app/ImageJ-linux64 --ij2 --headless --run './tests/test0001.py' "raw_images_root_path='/opt/ipr/cluster/work.global/graffy/jenkins-store/lipase/raw-images'"
./Fiji.app/ImageJ-linux64 --ij2 --headless --run './tests/test0001.py' "lipase_src_root_path='$(pwd)',raw_images_root_path='/opt/ipr/cluster/work.global/graffy/jenkins-store/lipase/raw-images'"
# on macosx : /Applications/Fiji.app/Contents/MacOS/ImageJ-macosx --ij2 --headless --run './test0001.py'

View File

@ -3,6 +3,7 @@
# # note: fiji's jython doesn't support encoding keyword
#https://imagej.net/Scripting_Headless
#@String lipase_src_root_path
#@String raw_images_root_path
# String(label="Please enter your name",description="Name field") name
@ -10,7 +11,7 @@
import sys
print('python version %s' % sys.version) # prints python version
sys.path.append('/Users/graffy/ownCloud/ipr/lipase/lipase.git') # necessary if run from fiji as script otherwise jython fails to find lipase's modules such as catalog
sys.path.append(lipase_src_root_path) # necessary if run from fiji as script otherwise jython fails to find lipase's modules such as catalog
from ij import IJ
from lipase import Lipase, ImageLogger