-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
running the 1st cell of example/basics_of_PyRATP.ipynb raises ImportError: cannot import name 'ratpvoxels2vtk' from 'openalea.ratp.RATP2VTK' that comes from
from openalea.ratp.RATP2VTK import ratpvoxels2vtk
SyntaxWarning: invalid escape sequence '\R'That comes from the string in args:
def ratpvoxels2vtk(grid, variable,varname="Variable",nomfich="C:\tmpRATP\RATPOUT.vtk"):Two recommendations:
- Either put a 'r' in front of it as
r"C:\tmpRATP\RATPOUT.vtk" - do not use absolute path, typically this one won't work on osx or Linux
pradal
Metadata
Metadata
Assignees
Labels
No labels