flav-io / flavio

A Python package for flavour physics phenomenology in the Standard model and beyond
http://flav-io.github.io/
MIT License
71 stars 62 forks source link

Error: package 'particle' removed the method data.open_text() #175

Closed resonweb closed 2 years ago

resonweb commented 2 years ago

In line 12 of parameters.py, import particle.data as p_data.

In line 232 of parameters.py, using p_data.open_text(), but this method has deprecated in particle-v0.20.0 a few days ago.

Because of this problem, "import flavio" will give an Error and can not be imported. Please fix this bug, thank you.

DavidMStraub commented 2 years ago

Thanks for the report!

The release notes don't even mention that. Quite unfortunate.

peterstangl commented 2 years ago

Thank you @resonweb for reporting this issue! The problem has been fixed in PR #176.