jonnymaserati/welleng

Example evaluating_clearance.py doesn't work. AttributeError: 'Mesh' object has no attribute 'flag'

Opened this issue · 1 comments

Example evaluating_clearance.py doesn't work. AttributeError: 'Mesh' object has no attribute 'flag'

Problem:
welleng 0.5.1 on Windows. vedo 2022.4.2

Traceback (most recent call last):
File "C:\welleng-main\examples\evaluating_clearance.py", line 209, in
we.visual.plot(scene, names=names, colors=colors)
File "C:\Users\username\anaconda3\envs\welleng\lib\site-packages\welleng\visual.py", line 287, in plot
plt = Plotter(data, **kwargs)
File "C:\Users\username\anaconda3\envs\welleng\lib\site-packages\welleng\visual.py", line 109, in init
m_vedo.flag()
AttributeError: 'Mesh' object has no attribute 'flag'
python-BaseException

Solution:
pip install --upgrade vedo==2021.0.6

@sensebur apologies for the delay... I've been taking a break from welleng.

I see this was a dependencies issue. I think going forward I'll start locking in dependency versions to try and prevent this sort of stuff, but for now I think you've close this one yourself?