Skip to content

Commit

Permalink
specify overwrite for samplesheet
Browse files Browse the repository at this point in the history
  • Loading branch information
jethror1 committed Nov 8, 2023
1 parent 2c0725c commit bae50ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ _get_samplesheet() {
if [[ "$samplesheet" ]]; then
# using provided samplesheet
echo "Using provided sample sheet: ${samplesheet_name}"
dx download "$samplesheet" -o runfolder/SampleSheet.csv
dx download "$samplesheet" --overwrite-o runfolder/SampleSheet.csv
elif [[ $(find ./ -regextype posix-extended -iregex '.*sample[-_ ]?sheet.csv$') ]]; then
# Sample sheet not given, try finding it in the run folder
# Use regex to account for anything named differently
Expand Down

0 comments on commit bae50ce

Please sign in to comment.