Boulder-Cryogenic-Quantum-Testbed / scresonators

Data analysis code for cryogenic resonator measurement
MIT License
28 stars 24 forks source link

from_file breaks when filenames have periods other than the extension #190

Closed nmaterise closed 9 months ago

nmaterise commented 9 months ago

I don't know if this is the best fix, but I usually grab the file extension like this:

fext = fname.split('.')[-1]
nmaterise commented 9 months ago

@scottito

nmaterise commented 9 months ago

Nevermind, pilot error on my part. The existing implementation works with or without extra periods in the filename.