jonnymaserati / welleng

A collection of Wells/Drilling Engineering tools, focused on well trajectory planning for the time being.
Apache License 2.0
113 stars 31 forks source link

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

Open sensebur opened 1 year ago

sensebur commented 1 year ago

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

jonnymaserati commented 1 year ago

@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?