nanshe/learner.py: Extract extension before comparison.
nanshe/learner.py: Extract extension before comparison.

DudLab/nanshe,nanshe-org/nanshe,nanshe-org/nanshe,jakirkham/nanshe,DudLab/nanshe,jakirkham/nanshe