maximilianh / cellBrowser

main repo: https://github.com/ucscGenomeBrowser/cellBrowser/ - Python pipeline and Javascript scatter plot library for single-cell datasets, http://cellbrowser.rtfd.org
https://github.com/ucscGenomeBrowser/cellBrowser/
GNU General Public License v3.0
104 stars 40 forks source link

cannot convert float infinity to integer #197

Closed Parul-Kudtarkar closed 3 years ago

Parul-Kudtarkar commented 3 years ago

I get following error cannot convert float infinity to integer, even after uncommenting - https://github.com/maximilianh/cellBrowser/blob/5207737572a7af58909825bc7e345ab70e474aa3/src/cbPyLib/cellbrowser/cellbrowser.py#L1000

maximilianh commented 3 years ago

Oh. That's interesting. Could I see the complete error message backtrace, all the lines, so I can see how this happened exactly?

Ideally, it's always easiest if you can share the expression matrix. Are there any unusual non-number values in your matrix, like "inf" or "NaN" ?

On Tue, Nov 17, 2020 at 12:01 AM Parul Kudtarkar notifications@github.com wrote:

I get following error cannot convert float infinity to integer, even after uncommenting - https://github.com/maximilianh/cellBrowser/blob/5207737572a7af58909825bc7e345ab70e474aa3/src/cbPyLib/cellbrowser/cellbrowser.py#L1000

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/maximilianh/cellBrowser/issues/197, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACL4TO3JQJZT7SUW6YJX7LSQGVLFANCNFSM4TXZYE5Q .

maximilianh commented 3 years ago

Hi @Parul-Kudtarkar any news from this? Shall we close the ticket? Did you find Nan values in your matrix?

Parul-Kudtarkar commented 3 years ago

Hi @maximilianh, Yes, we resolved the issue. You may close the ticket. tyvm

matthewspeir commented 3 years ago

Great! Feel free to open another ticket if you run into other issues with the cell browser.