$ git checkout upstream/master && ruff check --preview --select NPY201 . --exclude tools
HEAD is now at b395fd4b Replace &> run.log with > run.log 2>&1 (dash compatible)
src/molecule.py:3173:22: NPY201 `np.asfarray` will be removed in NumPy 2.0. Use `np.asarray` with a `float` dtype instead.
Found 1 error.
https://numpy.org/devdocs/release/2.0.0-notes.html#numpy-2-0-python-api-removals