Skip to content

Commit

Permalink
Don't set PYTHONPATH in robot_setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
will-moore committed Feb 1, 2016
1 parent 1e92750 commit 562e88f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions components/tests/ui/robot_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ done
bin/omero import $PLATE_NAME --debug ERROR > plate_import.log 2>&1
plateid=$(sed -n -e 's/^Plate://p' plate_import.log)
# Use populate_metadata to upload and attach bulk annotation csv
PYTHONPATH=$PYTHONPATH:lib/python

This comment has been minimized.

Copy link
@sbesson

sbesson Feb 2, 2016

This failed on Jenkins with an unbound variable since PYTHONPATH was unset

05:51:54 /opt/hudson/workspace/OMERO-DEV-merge-robotframework/src/components/tests/ui/robot_setup.sh: line 77: PYTHONPATH: unbound variable

Have you tried the following?

PYTHONPATH=./lib/python python lib/python/omero/util/populate_metadata.py -k $key Plate:$plateid $BULK_ANNOTATION_CSV
python lib/python/omero/util/populate_metadata.py -k $key Plate:$plateid $BULK_ANNOTATION_CSV

# Create Screen with empty plates for Create Scenario
Expand Down Expand Up @@ -103,4 +102,3 @@ echo "omero.datasetid=${dataset##*:}" >> "$CONFIG_FILENAME"

# Remove fake file
rm *.fake
rm $PLATE_NAME

0 comments on commit 562e88f

Please sign in to comment.