leppott / ContDataQC

Quality control checks on continuous data. Example data is from a HOBO data logger with 30 minute intervals.
https://leppott.github.io/ContDataQC/
MIT License
20 stars 10 forks source link

Shiny App - QC - Console - error on file delete #93

Closed leppott closed 3 years ago

leppott commented 3 years ago

Describe the bug Running the app for QC function get message to console about not being able to delete files.

To Reproduce Steps to reproduce the behavior:

  1. Load app.
  2. Load a file.
  3. select "QC raw data"
  4. Click "run operation"

Expected behavior Should not get any warning to the console.

Screenshots image image

Additional context Moved the files to "data" folder in a previous edit to better keep track of files in the app folder.

leppott commented 3 years ago

Also happens with "Aggregate" operation.

leppott commented 3 years ago

Each operation tries to delete files. Already gone though when get to this piece of code.

image

leppott commented 3 years ago

Deleted all files in new "data" folder first.

Existing routine missed files if a previous run failed. This caused other unintended issues.

image