Skip to content

Commit

Permalink
Alter output name if just plate distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
AshKernow committed Dec 11, 2018
1 parent 8f80ef8 commit e52c411
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion R/MultiPlateLayoutBlockRandomised.R
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,12 @@ plateOnly <- opts$plateOnly

# set options that that have not beem provided
if(outputFile == "<undefined>") {
outputFile <- gsub("[[:alnum:]]*$", "PlateLayout", basename(designFile))
if(plateOnly){
outputFile <- gsub("[[:alnum:]]*$", "PlateDistribution",
basename(designFile))
}else{
outputFile <- gsub("[[:alnum:]]*$", "PlateLayout", basename(designFile))
}
}

# split BatchColumns
Expand Down

0 comments on commit e52c411

Please sign in to comment.