Skip to content

Commit

Permalink
remove dependencies of torch
Browse files Browse the repository at this point in the history
  • Loading branch information
Starlitnightly committed Oct 29, 2024
1 parent 1b75ebe commit a2180db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dynamo/multivelo/MultiVelo.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from ..tl import dynamics,reduceDimension,cell_velocities
from .MultiPreprocessor import knn_smooth_chrom
from .dynamical_chrom_func import recover_dynamics_chrom


def multi_velocities(
mdata: MuData,
Expand Down Expand Up @@ -41,6 +41,7 @@ def multi_velocities(
An updated AnnData object with the velocities calculated.
"""
from .dynamical_chrom_func import recover_dynamics_chrom
# We need to calculate the dynamics of the RNA data first and reduce the dimensionality
dynamics(mdata['rna'], model=model, cores=core)
reduceDimension(mdata['rna'])
Expand Down

0 comments on commit a2180db

Please sign in to comment.