lab-cosmo / librascal

A scalable and versatile library to generate representations for atomic-scale learning
https://lab-cosmo.github.io/librascal/
GNU Lesser General Public License v2.1
80 stars 17 forks source link

Fix imports on Python 3.10 #401

Closed Luthaf closed 2 years ago

Luthaf commented 2 years ago

collections.Iterable has been deprecated for a while and was removed in Python 3.10. The correct import is collections.abc.Iterable, which was already used in other parts of the code.