Skip to content

Commit 8559c8e

Browse files
committed
debug backward compatability
1 parent 6f79ddc commit 8559c8e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

worker/cp-worker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
else:
2626
DESTINATION_BUCKET = os.environ['DESTINATION_BUCKET']
2727
if 'WORKSPACE_BUCKET' not in os.environ:
28-
WORKSPACE_BUCKET = os.environ['SOURCE_BUCKET']
28+
WORKSPACE_BUCKET = SOURCE_BUCKET
2929
else:
3030
WORKSPACE_BUCKET = os.environ['WORKSPACE_BUCKET']
3131
if 'UPLOAD_FLAGS' in os.environ:
@@ -52,7 +52,7 @@
5252
else:
5353
DOWNLOAD_FILES = os.environ['DOWNLOAD_FILES']
5454
if 'ALWAYS_CONTINUE' not in os.environ:
55-
ALWAYS_CONTINUE = False
55+
ALWAYS_CONTINUE = 'False'
5656
else:
5757
ALWAYS_CONTINUE = os.environ['ALWAYS_CONTINUE']
5858

worker/run-worker.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ if [[ ${USE_PLUGINS} == 'True' ]]; then
5050
git fetch --all
5151
cd ..
5252
fi
53+
if [[ -z "$PLUGINS_COMMIT" ]]; then
54+
PLUGINS_COMMIT='False'
55+
fi
5356
if [[ ${PLUGINS_COMMIT} != 'False' ]]; then
5457
echo "Checking out specific CellProfiler-plugins commit."
5558
cd CellProfiler-plugins

0 commit comments

Comments
 (0)