SURE-tools 2.1.43__py3-none-any.whl → 2.1.45__py3-none-any.whl

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/PerturbFlow.py CHANGED
@@ -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:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: SURE-tools
3
- Version: 2.1.43
3
+ Version: 2.1.45
4
4
  Summary: Succinct Representation of Single Cells
5
5
  Home-page: https://github.com/ZengFLab/SURE
6
6
  Author: Feng Zeng
@@ -1,4 +1,4 @@
1
- SURE/PerturbFlow.py,sha256=qQn1CEI0LbbM6lrOOD6Lyh_YqyUUTKCocrKicRg0flo,52300
1
+ SURE/PerturbFlow.py,sha256=EjBvHUNmQeyF41H-rzg7fSrcKo9_ts2za-JiMRp4y9M,52394
2
2
  SURE/SURE.py,sha256=ko15a9BhvUqHviogZ0YCdTQjM-2zqkO9OvHZSpnGbg0,47458
3
3
  SURE/__init__.py,sha256=NOJI_K-eCqPgStXXvgl3wIEMp6d8saMTDYLJ7Ga9MqE,293
4
4
  SURE/assembly/__init__.py,sha256=jxZLURXKPzXe21LhrZ09LgZr33iqdjlQy4oSEj5gR2Q,172
@@ -17,9 +17,9 @@ SURE/utils/__init__.py,sha256=QJUOfrXzdWSmoM0P3LH8oKEHttzCWqpDy2UF0F0dtN4,673
17
17
  SURE/utils/custom_mlp.py,sha256=rHnx9jEef02zfCUdbYVCmbuHcDdIBmRgt__wpdpZvYg,8104
18
18
  SURE/utils/queue.py,sha256=E_5PA5EWcBoGAZj8BkKQnkCK0p4C-4-xcTPqdIXaPXU,1892
19
19
  SURE/utils/utils.py,sha256=IUHjDDtYaAYllCWsZyIzqQwaLul6fJRvHRH4vIYcR-c,8462
20
- sure_tools-2.1.43.dist-info/licenses/LICENSE,sha256=TFHKwmrAViXQbSX5W-NDItkWFjm45HWOeUniDrqmnu0,1065
21
- sure_tools-2.1.43.dist-info/METADATA,sha256=1Qw2MDrbIZ6wqDF1k-pGudYoJSPDyd9qiJYoy5dFX20,2651
22
- sure_tools-2.1.43.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
23
- sure_tools-2.1.43.dist-info/entry_points.txt,sha256=-nJI8rVe_qqrR0HmfAODzj-JNfEqCcSsyVh6okSqyHk,83
24
- sure_tools-2.1.43.dist-info/top_level.txt,sha256=BtFTebdiJeqra4r6mm-uEtwVRFLZ_IjYsQ7OnalrOvY,5
25
- sure_tools-2.1.43.dist-info/RECORD,,
20
+ sure_tools-2.1.45.dist-info/licenses/LICENSE,sha256=TFHKwmrAViXQbSX5W-NDItkWFjm45HWOeUniDrqmnu0,1065
21
+ sure_tools-2.1.45.dist-info/METADATA,sha256=y0VumQ_zuHF_45Mo2MKKap2J_l4rGEzHiYLSxuq1isw,2651
22
+ sure_tools-2.1.45.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
23
+ sure_tools-2.1.45.dist-info/entry_points.txt,sha256=-nJI8rVe_qqrR0HmfAODzj-JNfEqCcSsyVh6okSqyHk,83
24
+ sure_tools-2.1.45.dist-info/top_level.txt,sha256=BtFTebdiJeqra4r6mm-uEtwVRFLZ_IjYsQ7OnalrOvY,5
25
+ sure_tools-2.1.45.dist-info/RECORD,,