victorlei / smop

Small Matlab to Python compiler
MIT License
1.08k stars 409 forks source link

FutureWarning: Possible nested set at... #171

Closed LOO49 closed 3 years ago

LOO49 commented 3 years ago

Try to convert matlab code to python and here's the outcome

C:\Users\HP>smop C:\Users\HP\anaconda3\Lib\site-packages\smop\code\crossover.m c:\users\hp\anaconda3\lib\site-packages\ply\lex.py:760: FutureWarning: Possible nested set at position 65 c = re.compile('(?P<%s>%s)' % (fname, _get_regex(f)), self.reflags) c:\users\hp\anaconda3\lib\site-packages\ply\lex.py:498: FutureWarning: Possible nested set at position 118 lexre = re.compile(regex, reflags) str str str str..

In the end i still didn't get the .py file.. Can someone help?