Skip to content

Commit

Permalink
Compatibility with Palantir<=v1.3.0 (scverse#2672)
Browse files Browse the repository at this point in the history
  • Loading branch information
katosh authored Oct 16, 2023
1 parent 27f6b56 commit 395f5a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scanpy/external/tl/_palantir.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def palantir(

# Diffusion maps
dm_res = run_diffusion_maps(
data_df=df,
df,
n_components=n_components,
knn=knn,
alpha=alpha,
Expand Down Expand Up @@ -292,7 +292,7 @@ def palantir_results(

ms_data = pd.DataFrame(adata.obsm[ms_data], index=adata.obs_names)
pr_res = run_palantir(
ms_data=ms_data,
ms_data,
early_cell=early_cell,
terminal_states=terminal_states,
knn=knn,
Expand Down

0 comments on commit 395f5a2

Please sign in to comment.