If you haven't already, please read through our contributing guidelines before opening your PR
What is the purpose of this PR?
Apparently Windows doesn't like it when you try to os.rename something that is an "open process" (causing pixel clustering functions to fail). After much experimenting, seems like the fix is easy. shutil.move seems to do the trick.
How did you implement your changes
Change os.rename to shutil.move. Tested on my computer, Ben's, and MIBIAN.
If you haven't already, please read through our contributing guidelines before opening your PR
What is the purpose of this PR?
Apparently Windows doesn't like it when you try to
os.rename
something that is an "open process" (causing pixel clustering functions to fail). After much experimenting, seems like the fix is easy.shutil.move
seems to do the trick.How did you implement your changes
Change
os.rename
toshutil.move
. Tested on my computer, Ben's, and MIBIAN.Remaining issues
None