SURE-tools 2.1.43__tar.gz → 2.1.45__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.43 → sure_tools-2.1.45}/PKG-INFO +1 -1
- {sure_tools-2.1.43 → sure_tools-2.1.45}/SURE/PerturbFlow.py +4 -2
- {sure_tools-2.1.43 → sure_tools-2.1.45}/SURE_tools.egg-info/PKG-INFO +1 -1
- {sure_tools-2.1.43 → sure_tools-2.1.45}/setup.py +1 -1
- {sure_tools-2.1.43 → sure_tools-2.1.45}/LICENSE +0 -0
- {sure_tools-2.1.43 → sure_tools-2.1.45}/README.md +0 -0
- {sure_tools-2.1.43 → sure_tools-2.1.45}/SURE/SURE.py +0 -0
- {sure_tools-2.1.43 → sure_tools-2.1.45}/SURE/__init__.py +0 -0
- {sure_tools-2.1.43 → sure_tools-2.1.45}/SURE/assembly/__init__.py +0 -0
- {sure_tools-2.1.43 → sure_tools-2.1.45}/SURE/assembly/assembly.py +0 -0
- {sure_tools-2.1.43 → sure_tools-2.1.45}/SURE/assembly/atlas.py +0 -0
- {sure_tools-2.1.43 → sure_tools-2.1.45}/SURE/atac/__init__.py +0 -0
- {sure_tools-2.1.43 → sure_tools-2.1.45}/SURE/atac/utils.py +0 -0
- {sure_tools-2.1.43 → sure_tools-2.1.45}/SURE/codebook/__init__.py +0 -0
- {sure_tools-2.1.43 → sure_tools-2.1.45}/SURE/codebook/codebook.py +0 -0
- {sure_tools-2.1.43 → sure_tools-2.1.45}/SURE/flow/__init__.py +0 -0
- {sure_tools-2.1.43 → sure_tools-2.1.45}/SURE/flow/flow_stats.py +0 -0
- {sure_tools-2.1.43 → sure_tools-2.1.45}/SURE/flow/plot_quiver.py +0 -0
- {sure_tools-2.1.43 → sure_tools-2.1.45}/SURE/perturb/__init__.py +0 -0
- {sure_tools-2.1.43 → sure_tools-2.1.45}/SURE/perturb/perturb.py +0 -0
- {sure_tools-2.1.43 → sure_tools-2.1.45}/SURE/utils/__init__.py +0 -0
- {sure_tools-2.1.43 → sure_tools-2.1.45}/SURE/utils/custom_mlp.py +0 -0
- {sure_tools-2.1.43 → sure_tools-2.1.45}/SURE/utils/queue.py +0 -0
- {sure_tools-2.1.43 → sure_tools-2.1.45}/SURE/utils/utils.py +0 -0
- {sure_tools-2.1.43 → sure_tools-2.1.45}/SURE_tools.egg-info/SOURCES.txt +0 -0
- {sure_tools-2.1.43 → sure_tools-2.1.45}/SURE_tools.egg-info/dependency_links.txt +0 -0
- {sure_tools-2.1.43 → sure_tools-2.1.45}/SURE_tools.egg-info/entry_points.txt +0 -0
- {sure_tools-2.1.43 → sure_tools-2.1.45}/SURE_tools.egg-info/requires.txt +0 -0
- {sure_tools-2.1.43 → sure_tools-2.1.45}/SURE_tools.egg-info/top_level.txt +0 -0
- {sure_tools-2.1.43 → sure_tools-2.1.45}/setup.cfg +0 -0
|
@@ -731,7 +731,8 @@ class PerturbFlow(nn.Module):
|
|
|
731
731
|
if self.supervised_mode:
|
|
732
732
|
alpha = self.encoder_n(xs)
|
|
733
733
|
else:
|
|
734
|
-
zns,_ = self.encoder_zn(xs)
|
|
734
|
+
#zns,_ = self.encoder_zn(xs)
|
|
735
|
+
zns = self._get_basal_embedding(xs)
|
|
735
736
|
alpha = self.encoder_n(zns)
|
|
736
737
|
return alpha
|
|
737
738
|
|
|
@@ -801,7 +802,8 @@ class PerturbFlow(nn.Module):
|
|
|
801
802
|
return A
|
|
802
803
|
|
|
803
804
|
def _cell_response(self, xs, factor_idx, perturb):
|
|
804
|
-
zns,_ = self.encoder_zn(xs)
|
|
805
|
+
#zns,_ = self.encoder_zn(xs)
|
|
806
|
+
zns = self._get_basal_embedding(xs)
|
|
805
807
|
if perturb.ndim==2:
|
|
806
808
|
ms = self.cell_factor_effect[factor_idx]([zns, perturb])
|
|
807
809
|
else:
|
|
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
|