You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run --clean, it skips things that aren't bags, but then reports that they were cleaned successfully. Need to do something similar to what we did with validation.
(base) ponziChain:grabbags Jonathan$ grabbags --clean ~/Desktop/
2021-04-14 19:10:26,054 - WARNING - /Users/Jonathan/Desktop/test_data is not a bag. Not cleaning.
2021-04-14 19:10:26,055 - WARNING - /Users/Jonathan/Desktop/desktop is not a bag. Not cleaning.
2021-04-14 19:10:26,055 - WARNING - /Users/Jonathan/Desktop/a-bag is not a bag. Not cleaning.
2021-04-14 19:10:26,055 - WARNING - /Users/Jonathan/Desktop/parent-dir is not a bag. Not cleaning.
2021-04-14 19:10:26,055 - WARNING - /Users/Jonathan/Desktop/techfocus-vimeo is not a bag. Not cleaning.
2021-04-14 19:10:26,055 - INFO - 5 bags cleaned successfully
The text was updated successfully, but these errors were encountered:
The counting of the bags variables [successes, failures, and not_a_bag] are global variables. This shouldn't be. If we need to keep start, we should move the functions affected by it into a class and move the variables as instances.
When I run --clean, it skips things that aren't bags, but then reports that they were cleaned successfully. Need to do something similar to what we did with validation.
The text was updated successfully, but these errors were encountered: