maximilianh/cellBrowser

os.getLogin() function breaks seurat.py

RoganGrant opened this issue · 2 comments

First of all, thank you for this package. It is an essential tool for open science and a serious workhorse for us.

I am currently trying to generate a cellbrowser object from a seurat RDS. However when I run the cbImportSeurat function, it invariably returns the error

OSError: [Errno 6] No such device or address

This appears to result from line 433 of the seurat.py script due to os.getLogin(). This appears to be more of an os issue than anything related to cellbrowser. Indeed, if I run os.getLogin() on the python command line within my current environment I get the same error. Should I try to install glibc on our cluster? Alternatively, would it be possible to substitute this for an equivalent function in a future version?

Thanks for your help!

Wow, thank you for the fast response! Yes I can do that.