dekamps / miind

http://miind.sf.net
MIT License
13 stars 7 forks source link

lost.py seems mishandle base names with underscores #46

Open dekamps opened 4 years ago

dekamps commented 4 years ago

(base) scsmdk@x86_64-apple-darwin13 lucas % python lost.py PIF_osc_input_0.01_0_00.lost Traceback (most recent call last): File "lost.py", line 173, in main(sys.argv) File "lost.py", line 123, in main l=read_fiducial(bn + '.fid') File "lost.py", line 70, in read_fiducial tree = ET.parse(fn) File "/Users/scsmdk/anaconda3/lib/python3.7/xml/etree/ElementTree.py", line 1197, in parse tree.parse(source, parser) File "/Users/scsmdk/anaconda3/lib/python3.7/xml/etree/ElementTree.py", line 587, in parse source = open(source, "rb") FileNotFoundError: [Errno 2] No such file or directory: 'PIF.fid' (base) scsmdk@x86_64-apple-darwin13 lucas %