glotzerlab / hoomd-blue

Molecular dynamics and Monte Carlo soft matter simulation on GPUs.
http://glotzerlab.engin.umich.edu/hoomd-blue
BSD 3-Clause "New" or "Revised" License
324 stars 127 forks source link

Improve the data access error message. #1820

Closed joaander closed 1 month ago

joaander commented 1 month ago

Description

Clarify that operations must be added and simulation.run called in the data access error message.

Motivation and context

Previously, the message only mentioned simulation.run which is necessary but not sufficient. This caused confusion for users.

How has this been tested?

Tested with the MWE in #1818.

Change log

Changed:

* Clarify the `DataAccessError` message
  (`#1820 <https://github.com/glotzerlab/hoomd-blue/pull/1820>`__).

Checklist: