Hello everyone,
I'm encountering a GurobiError when running COMPASS (Metabolic analysis software for single-cell data) analysis on my single-cell RNA-seq data. The error occurs during the optimization process, but I've verified that my input data does not contain any NaN or Infinite values.
The package is in
Command Used
compass --data /path/to/my_data.h5ad --num-processes 10 --species homo_sapiens
Error Message
Traceback (most recent call last):
File "/path/to/compass/bin/compass", line 7, in <module>
sys.exit(entry())
File "/path/to/compass/lib/python3.10/site-packages/compass/main.py", line 1438, in entry
runCompassParallel(args)
File "/path/to/compass/lib/python3.10/site-packages/compass/main.py", line 1505, in runCompassParallel
res.get()
File "/path/to/python3.10/multiprocessing/pool.py", line 774, in get
raise self._value
gurobipy._exception.GurobiError: Element 47 of a double array is Nan or Inf.
I have verified that my .h5ad file contains no NaN values in the expression matrix, but I'm unsure how to resolve this error. Any guidance is appreciated!
Thank you very much for your suggestion. I will check it.