Skip to content

Commit

Permalink
fix import error
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekbhr committed Jul 27, 2024
1 parent 4df5117 commit 6516ccb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sincei/scClusterCells.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
from sincei import ParserCommon
from sincei.TopicModels import TOPICMODEL

# from sincei.GLMPCA import GLMPCA, EXPONENTIAL_FAMILY_DICT
from sincei.GLMPCA import EXPONENTIAL_FAMILY_DICT # , GLMPCA


def parseArguments():
Expand Down Expand Up @@ -189,7 +189,7 @@ def main(args=None):

elif args.method == "glmPCA":
# import glmPCA (not imported on top due to special optional import of mctorch)
from sincei.GLMPCA import GLMPCA, EXPONENTIAL_FAMILY_DICT
from sincei.GLMPCA import GLMPCA

# convert mtx to torch tensor
mtx = torch.tensor(mtx.todense()) # feature*cell tensor
Expand Down

0 comments on commit 6516ccb

Please sign in to comment.