File's name retrieval in demo.py not compatible with Windows
claudio-bon opened this issue · 1 comments
claudio-bon commented
Instead of retrieving the file's name in this way:
Line 47 in f1fa15a
doing it like this:
file_stem = os.path.splitext(os.path.basename(imfile1))[0]
provides compatibility with Windows as well.
Mind that
import os
must be added.
lahavlipson commented
Thanks for pointing this out, I didn't realize there was incompatibility. I'll update the source code