aiidateam / qe-tools

A set of useful tools for Quantum ESPRESSO
MIT License
28 stars 13 forks source link

Windows newlines are not dealt with properly #5

Closed giovannipizzi closed 6 years ago

giovannipizzi commented 6 years ago

When using open() it's all good because python converts \r\n to \n but instead if reading with open(fname, 'rb') or just passing a string containing windows newlines, the regexes fail.

I'm already fixing this.