Boulder-Cryogenic-Quantum-Testbed / scresonators

Data analysis code for cryogenic resonator measurement
MIT License
30 stars 25 forks source link

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

Closed nmaterise closed 1 year ago

nmaterise commented 1 year 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 1 year ago

@scottito

nmaterise commented 1 year ago

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