Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QC - fails if output file already exists #95

Open
leppott opened this issue Dec 11, 2020 · 0 comments
Open

QC - fails if output file already exists #95

leppott opened this issue Dec 11, 2020 · 0 comments

Comments

@leppott
Copy link
Owner

leppott commented Dec 11, 2020

Describe the bug
Found a case of the ContDataQC - QC process failing when the output file already existed.

To Reproduce
Example from ContDataQC. If already have run the output and files are in QC folder the 2nd file fails.

# QC Raw Data
myData.Operation <- "QCRaw" #Selection.Operation[2]
myData.SiteID    <- "test2"
myData.Type      <- Selection.Type[3] #"AW"
myData.DateRange.Start  <- "2013-01-01"
myData.DateRange.End    <- "2014-12-31"
myDir.import <- file.path(myDir.BASE,Selection.SUB[2]) #"Data1_RAW"
myDir.export <- file.path(myDir.BASE,Selection.SUB[3]) #"Data2_QC"
myReport.format <- "docx"
ContDataQC(myData.Operation, myData.SiteID, myData.Type, myData.DateRange.Start
           , myData.DateRange.End, myDir.import, myDir.export
           , fun.myReport.format=myReport.format)

Expected behavior
Shouldn't error.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Additional context
Not sure if a consistent problem.

Low priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant