Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'SbfData' object has no attribute 'pc' #19

Open
solangejurado opened this issue Nov 13, 2024 · 3 comments
Open

'SbfData' object has no attribute 'pc' #19

solangejurado opened this issue Nov 13, 2024 · 3 comments

Comments

@solangejurado
Copy link

Hello,
I've recently pulled the repo and got a new error : 'SbfData' object has no attribute 'pc'.
It occurs in the function load_sbf_features (file cc_3dmasc.py) line 87 : pc = sbf_data.pc
I've tried debbuging but couldn't fix it, the sceenshot shows the sbf_data object I have

bug sbf

Thanks for your help !

@p-leroy
Copy link
Owner

p-leroy commented Nov 13, 2024

The message is quite explicit, 'SbfData' object has no attribute 'pc'. Looking at the history of commits, you can find the day this field name was changed. Anyway, pc has been renamed xyz. Can you please try to replace
pc = sbf_data.pc
with
pc = sbf_data.xyz
If it works, I will commit the modification.

@solangejurado
Copy link
Author

Yes I saw that too thanks
It works with pc = sbf_data.xyz

@p-leroy
Copy link
Owner

p-leroy commented Nov 13, 2024

Nice, thank you. I pushed the commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants