AllenInstitute / bmtk

Brain Modeling Toolkit
https://alleninstitute.github.io/bmtk/
BSD 3-Clause "New" or "Revised" License
266 stars 86 forks source link

Fix error xstim_waveforms.py #317

Closed nilsvanrompaey closed 1 year ago

nilsvanrompaey commented 1 year ago

This is an issue I encountered a long time ago and just fixed in my own version but I figured I should mention here too. For me, the original code returns an error that this change fixes. According to the os.path.splitext documentation, this also makes more sense.