StochSS / stochss-compute

A compute delegation server for the StochSS family of stochastic simulators.
https://stochss.github.io/stochss-compute/
GNU General Public License v3.0
5 stars 0 forks source link

NumPy deprecation warning #90

Closed mdip226 closed 2 years ago

mdip226 commented 2 years ago
DeprecationWarning: `np.int` is a deprecated alias for the builtin `int`. To silence this warning, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  if np.int(initial_value) != initial_value:
/home/mdip/Projects/stochss-compute/env/lib/python3.8/site-packages/gillespy2/core/species.py:91: DeprecationWarning: `np.int` is a deprecated alias for the builtin `int`. To silence this warning, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  self.initial_value = np.int(initial_value)
BryanRumsey commented 2 years ago

will be addressed by GillesPy2 issue #749