immucellai2 2.1.32__tar.gz → 2.1.33__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.
Files changed (21) hide show
  1. {immucellai2-2.1.32 → immucellai2-2.1.33}/PKG-INFO +1 -1
  2. {immucellai2-2.1.32 → immucellai2-2.1.33}/immucellai2/Deconvolution.py +10 -9
  3. {immucellai2-2.1.32 → immucellai2-2.1.33}/immucellai2.egg-info/PKG-INFO +1 -1
  4. {immucellai2-2.1.32 → immucellai2-2.1.33}/setup.cfg +1 -1
  5. {immucellai2-2.1.32 → immucellai2-2.1.33}/README.md +0 -0
  6. {immucellai2-2.1.32 → immucellai2-2.1.33}/immucellai2/Drawplot.py +0 -0
  7. {immucellai2-2.1.32 → immucellai2-2.1.33}/immucellai2/ObtainCategory.py +0 -0
  8. {immucellai2-2.1.32 → immucellai2-2.1.33}/immucellai2/PrepareData.py +0 -0
  9. {immucellai2-2.1.32 → immucellai2-2.1.33}/immucellai2/Time.py +0 -0
  10. {immucellai2-2.1.32 → immucellai2-2.1.33}/immucellai2/__init__.py +0 -0
  11. {immucellai2-2.1.32 → immucellai2-2.1.33}/immucellai2/myclasses.py +0 -0
  12. {immucellai2-2.1.32 → immucellai2-2.1.33}/immucellai2/myconfig/Celltype.category +0 -0
  13. {immucellai2-2.1.32 → immucellai2-2.1.33}/immucellai2/myconfig/MarkerUsedDeconvolution.txt +0 -0
  14. {immucellai2-2.1.32 → immucellai2-2.1.33}/immucellai2/myconfig/reference_normalCelltypes.txt +0 -0
  15. {immucellai2-2.1.32 → immucellai2-2.1.33}/immucellai2/myconfig/reference_tumorCelltypes.txt +0 -0
  16. {immucellai2-2.1.32 → immucellai2-2.1.33}/immucellai2.egg-info/SOURCES.txt +0 -0
  17. {immucellai2-2.1.32 → immucellai2-2.1.33}/immucellai2.egg-info/dependency_links.txt +0 -0
  18. {immucellai2-2.1.32 → immucellai2-2.1.33}/immucellai2.egg-info/entry_points.txt +0 -0
  19. {immucellai2-2.1.32 → immucellai2-2.1.33}/immucellai2.egg-info/requires.txt +0 -0
  20. {immucellai2-2.1.32 → immucellai2-2.1.33}/immucellai2.egg-info/top_level.txt +0 -0
  21. {immucellai2-2.1.32 → immucellai2-2.1.33}/pyproject.toml +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: immucellai2
3
- Version: 2.1.32
3
+ Version: 2.1.33
4
4
  Summary: A tool for immune cell type deconvolution
5
5
  Home-page: https://github.com/VyvyanYjm/ImmuCellAI2.0
6
6
  Author: YangJingmin
@@ -256,17 +256,18 @@ def MainRun(RunObject, seed=42, MultithreadModule = 'joblib'):
256
256
  EnvironmentRun = RunObject.EnvironmentRun
257
257
  RecordTime = CLASS_FOR_TIME()
258
258
  nsamples = len(RunObject.SampleList)
259
+ SampleNameToIndex = {name: idx for idx, name in enumerate(RunObject.SampleList)}
259
260
  parameterlist = []
260
- #CelltypesReferenceMatrix = RunObject.CelltypesReferenceMatrix
261
- for sample_index in range(nsamples):
262
- SampleName = RunObject.SampleList[sample_index]
261
+ for SampleNameii in range(nsamples):
262
+ SampleName = RunObject.SampleList[SampleNameii]
263
+ SampleIndex = SampleNameToIndex[SampleName]
263
264
  parameterlist.append((
264
- (RunObject.EmceeParameter).mycopy(),
265
- RunObject.CelltypesReferenceMatrix ,
266
- RunObject.SamplesBulkRNAseqExpression[sample_index],
267
- RunObject.SampleList[sample_index],
268
- RunObject.MAPorMLE
269
- ))
265
+ RunObject.EmceeParameter.mycopy(),
266
+ RunObject.CelltypesReferenceMatrix,
267
+ RunObject.SamplesBulkRNAseqExpression[SampleIndex],
268
+ SampleName,
269
+ RunObject.MAPorMLE
270
+ ))
270
271
  MultiprocessingReturnValue = []
271
272
  if MultithreadModule == 'joblib':
272
273
  try:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: immucellai2
3
- Version: 2.1.32
3
+ Version: 2.1.33
4
4
  Summary: A tool for immune cell type deconvolution
5
5
  Home-page: https://github.com/VyvyanYjm/ImmuCellAI2.0
6
6
  Author: YangJingmin
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = immucellai2
3
- version = 2.1.32
3
+ version = 2.1.33
4
4
  author = YangJingmin
5
5
  author_email = yangjingmin2021@163.com
6
6
  description = A tool for immune cell type deconvolution
File without changes