ExtractTiles check for empty dirs bug #277
Labels
component: use case wrapper
priority: high
High Priority
type: bug
Fix something that is not working
Milestone
ExtractTiles calls TcPairs wrapper and checks if the input directory is empty and exits if it is empty. However, a dated subdirectory can exist in this directory and this check will pass even though that directory is empty. TcPairs is attempted to run with no files in the list so the -lookin flag has no argument, so it fails. Instead of checking if the dir is empty, we should add a check to see if the file list is empty and error or warn and exit instead of running tc_pairs with an incorrectly formatted command.
The text was updated successfully, but these errors were encountered: