SURE-tools 2.1.80__tar.gz → 2.1.81__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of SURE-tools might be problematic. Click here for more details.
- {sure_tools-2.1.80 → sure_tools-2.1.81}/PKG-INFO +1 -1
- {sure_tools-2.1.80 → sure_tools-2.1.81}/SURE/PerturbFlow.py +1 -1
- {sure_tools-2.1.80 → sure_tools-2.1.81}/SURE_tools.egg-info/PKG-INFO +1 -1
- {sure_tools-2.1.80 → sure_tools-2.1.81}/setup.py +1 -1
- {sure_tools-2.1.80 → sure_tools-2.1.81}/LICENSE +0 -0
- {sure_tools-2.1.80 → sure_tools-2.1.81}/README.md +0 -0
- {sure_tools-2.1.80 → sure_tools-2.1.81}/SURE/SURE.py +0 -0
- {sure_tools-2.1.80 → sure_tools-2.1.81}/SURE/__init__.py +0 -0
- {sure_tools-2.1.80 → sure_tools-2.1.81}/SURE/assembly/__init__.py +0 -0
- {sure_tools-2.1.80 → sure_tools-2.1.81}/SURE/assembly/assembly.py +0 -0
- {sure_tools-2.1.80 → sure_tools-2.1.81}/SURE/assembly/atlas.py +0 -0
- {sure_tools-2.1.80 → sure_tools-2.1.81}/SURE/atac/__init__.py +0 -0
- {sure_tools-2.1.80 → sure_tools-2.1.81}/SURE/atac/utils.py +0 -0
- {sure_tools-2.1.80 → sure_tools-2.1.81}/SURE/codebook/__init__.py +0 -0
- {sure_tools-2.1.80 → sure_tools-2.1.81}/SURE/codebook/codebook.py +0 -0
- {sure_tools-2.1.80 → sure_tools-2.1.81}/SURE/flow/__init__.py +0 -0
- {sure_tools-2.1.80 → sure_tools-2.1.81}/SURE/flow/flow_stats.py +0 -0
- {sure_tools-2.1.80 → sure_tools-2.1.81}/SURE/flow/plot_quiver.py +0 -0
- {sure_tools-2.1.80 → sure_tools-2.1.81}/SURE/perturb/__init__.py +0 -0
- {sure_tools-2.1.80 → sure_tools-2.1.81}/SURE/perturb/perturb.py +0 -0
- {sure_tools-2.1.80 → sure_tools-2.1.81}/SURE/utils/__init__.py +0 -0
- {sure_tools-2.1.80 → sure_tools-2.1.81}/SURE/utils/custom_mlp.py +0 -0
- {sure_tools-2.1.80 → sure_tools-2.1.81}/SURE/utils/queue.py +0 -0
- {sure_tools-2.1.80 → sure_tools-2.1.81}/SURE/utils/utils.py +0 -0
- {sure_tools-2.1.80 → sure_tools-2.1.81}/SURE_tools.egg-info/SOURCES.txt +0 -0
- {sure_tools-2.1.80 → sure_tools-2.1.81}/SURE_tools.egg-info/dependency_links.txt +0 -0
- {sure_tools-2.1.80 → sure_tools-2.1.81}/SURE_tools.egg-info/entry_points.txt +0 -0
- {sure_tools-2.1.80 → sure_tools-2.1.81}/SURE_tools.egg-info/requires.txt +0 -0
- {sure_tools-2.1.80 → sure_tools-2.1.81}/SURE_tools.egg-info/top_level.txt +0 -0
- {sure_tools-2.1.80 → sure_tools-2.1.81}/setup.cfg +0 -0
|
@@ -813,7 +813,7 @@ class PerturbFlow(nn.Module):
|
|
|
813
813
|
# basal embedding
|
|
814
814
|
zs = self.get_basal_embedding(xs)
|
|
815
815
|
for pert in perturbs_predict:
|
|
816
|
-
pert_idx = np.where(perturbs_reference==pert)[0]
|
|
816
|
+
pert_idx = int(np.where(perturbs_reference==pert)[0])
|
|
817
817
|
us_i = us[:,pert_idx].reshape(-1,1)
|
|
818
818
|
|
|
819
819
|
# factor effect of xs
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|