Skip to content
This repository has been archived by the owner on Aug 9, 2023. It is now read-only.

Commit

Permalink
Merge pull request #67 from aws-samples/master
Browse files Browse the repository at this point in the history
fix nextflow s3 project regex
  • Loading branch information
wleepang authored Sep 27, 2019
2 parents 94e74a7 + 71ab931 commit b590c3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/orchestration/nextflow/nextflow-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ cd /opt/work/$GUID
aws s3 sync --only-show-errors $NF_LOGSDIR/.nextflow .nextflow

# stage workflow definition
if [[ "$NEXTFLOW_PROJECT" =~ "^s3://.*" ]]; then
if [[ "$NEXTFLOW_PROJECT" =~ ^s3://.* ]]; then
aws s3 sync --only-show-errors --exclude 'runs/*' --exclude '.*' $NEXTFLOW_PROJECT ./project
NEXTFLOW_PROJECT=./project
fi
Expand Down
2 changes: 1 addition & 1 deletion src/containers/nextflow/nextflow.aws.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ cd /opt/work/$GUID
aws s3 sync --only-show-errors $NF_LOGSDIR/.nextflow .nextflow

# stage workflow definition
if [[ "$NEXTFLOW_PROJECT" =~ "^s3://.*" ]]; then
if [[ "$NEXTFLOW_PROJECT" =~ ^s3://.* ]]; then
aws s3 sync --only-show-errors --exclude 'runs/*' --exclude '.*' $NEXTFLOW_PROJECT ./project
NEXTFLOW_PROJECT=./project
fi
Expand Down

0 comments on commit b590c3a

Please sign in to comment.