Python 3 import error of...
Molecular dynamics by NMR data analysis
Brought to you by:
edauvergne,
troelslinnet
This was found using Troels' Travis CI testing in the log https://api.travis-ci.com/v3/job/171069534/log.txt. The error message with a simple Python3 import test is:
$ python3 test_suite/system_tests/scripts/model_free/latex_mf_table.py
File "test_suite/system_tests/scripts/model_free/latex_mf_table.py", line 36
"""
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 273-274: truncated \uXXXX escape
The issue is the '\u' escape sequence in the docstring:
# Module docstring.
"""Script for converting the model-free results into a LaTeX table.
The longtable LaTeX package is necessary to allow the table to span multiple pages. This table also
uses the more elegant booktable format. The packages can be included using the LaTeX preamble
commands:
\usepackage{longtable}
\usepackage{booktabs}
Assuming the file name 'results.tex', the resultant table can be placed into a LaTeX manuscript
with the command:
\input{results}
"""
This is fixed with commit dee4fd3622158fb859c950a163017ac797b61ae9.