Skip to content

Commit

Permalink
remove the usage: scanpy [-h] {settings} ...
Browse files Browse the repository at this point in the history
There are a few packages providing commands. Try e.g. `pip install scanpy-
scripts`!

positional arguments:
  {settings}

options:
  -h, --help  show this help message and exit in pySTAGATE
  • Loading branch information
Starlitnightly committed Oct 9, 2024
1 parent 3b84fbc commit 882d8b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spateo/tools/cluster/_stagate.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Module providing a encapsulation of pySTAGATE."""
import scanpy as sc

import torch
import torch.nn.functional as F
from anndata import AnnData
Expand Down Expand Up @@ -147,6 +147,7 @@ def cal_pSM(
"""

import numpy as np
import scanpy as sc
from scipy.spatial import distance_matrix

sc.pp.neighbors(self.adata, n_neighbors=n_neighbors, use_rep="STAGATE")
Expand Down

0 comments on commit 882d8b4

Please sign in to comment.