RasmussenLab / vamb

Variational autoencoder for metagenomic binning
MIT License
242 stars 44 forks source link

Annoying new warning in terminal #341

Closed jakobnissen closed 2 days ago

jakobnissen commented 1 month ago

When launching new versions of Vamb, this warning appears:

/home/jakni/miniconda3/envs/recluster/lib/python3.12/site-packages/numpy/core/getlimits.py:549: UserWarning: The value of the smallest subnormal for <class 'numpy.float64'> type is zero.
  setattr(self, word, getattr(machar, word).flat[0])
/home/jakni/miniconda3/envs/recluster/lib/python3.12/site-packages/numpy/core/getlimits.py:89: UserWarning: The value of the smallest subnormal for <class 'numpy.float64'> type is zero.
  return self._float_to_str(self.smallest_subnormal)
/home/jakni/miniconda3/envs/recluster/lib/python3.12/site-packages/numpy/core/getlimits.py:549: UserWarning: The value of the smallest subnormal for <class 'numpy.float32'> type is zero.
  setattr(self, word, getattr(machar, word).flat[0])
/home/jakni/miniconda3/envs/recluster/lib/python3.12/site-packages/numpy/core/getlimits.py:89: UserWarning: The value of the smallest subnormal for <class 'numpy.float32'> type is zero.
  return self._float_to_str(self.smallest_subnormal)

As far as I can tell from googling around this happens because

The solution is to figure out which library does this and remove/upgrade/downgrade it.

jakobnissen commented 1 month ago

This is due to pyhmmer, which is currently version 0.10.12

jakobnissen commented 2 days ago

Closed by a temporary fix in #357