molpro / iMolpro

GNU General Public License v3.0
2 stars 3 forks source link

molpro_input.py:587: SyntaxWarning: invalid escape sequence '\s' #270

Closed klauspdoll closed 1 week ago

klauspdoll commented 2 weeks ago

version 9c2da7027

python iMolpro.py 
/home/doll/imolpro/iMolpro/molpro_input.py:587: SyntaxWarning: invalid escape sequence '\s'
  word = re.sub('\s+',',',line.strip()).split(',')[0]

to reproduce it, do:

touch molpro_input.py 
python iMolpro.py 
/home/doll/imolpro/iMolpro/molpro_input.py:587: SyntaxWarning: invalid escape sequence '\s'
  word = re.sub('\s+',',',line.strip()).split(',')[0]