EOGrady21 / vprr

Video Plankton Recorder Data Processing
https://eogrady21.github.io/vprr/
Other
2 stars 1 forks source link

vpr_manual_classification() prompt #42

Closed kevinsorochan closed 1 year ago

kevinsorochan commented 1 year ago

Describe the bug The prompt is not specific enough - it states that files will be deleted but not the directory or general location from which they will be deleted. Also there is a spelling error in the prompt.

To Reproduce Reproducible code example of the bug, with output if appropriate.


vpr_manual_classification

Expected behavior The initial prompt should indicate some context regarding the files that will be removed and spelling should be correct

Instead the function returns:

WARNING!!! ALL EXISITING FILES IN dXXX.hXX ARE ABOUT TO BE DELETED. DO YOU WISH TO PROCEED?

It should specify: ...all existing manual classification record files in dXXX.hXX are about to be deleted. Do you wish to proceed?

Note that EXISITING should be replaced with EXISTING

Screenshots

NA Session Info: [output from running sessionInfo()]

Additional context Add any other context about the problem here.

EOGrady21 commented 1 year ago

I fixed the spelling error but left the original wording in the prompt, technically, the code written will delete ANY files stored in the dXX.hXXX folder... I wouldn't want any confusion or surprise on the off chance there were other files stored in the folder.