MASSA-Algorithm 2.2.1__py3-none-any.whl → 2.2.2__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.
- MASSA_Algorithm/MASSAextraction.py +11 -4
- MASSA_Algorithm/MASSAlogos.py +1 -1
- {massa_algorithm-2.2.1.dist-info → massa_algorithm-2.2.2.dist-info}/METADATA +1 -1
- {massa_algorithm-2.2.1.dist-info → massa_algorithm-2.2.2.dist-info}/RECORD +8 -8
- {massa_algorithm-2.2.1.dist-info → massa_algorithm-2.2.2.dist-info}/WHEEL +0 -0
- {massa_algorithm-2.2.1.dist-info → massa_algorithm-2.2.2.dist-info}/entry_points.txt +0 -0
- {massa_algorithm-2.2.1.dist-info → massa_algorithm-2.2.2.dist-info}/licenses/LICENSE +0 -0
- {massa_algorithm-2.2.1.dist-info → massa_algorithm-2.2.2.dist-info}/top_level.txt +0 -0
|
@@ -27,8 +27,8 @@ def name_extraction(file):
|
|
|
27
27
|
else:
|
|
28
28
|
duplicates[name] = [[idx, mol]]
|
|
29
29
|
|
|
30
|
-
final_names = []
|
|
31
30
|
final_names_dict = {}
|
|
31
|
+
idx_names = {}
|
|
32
32
|
for k, v in duplicates.items():
|
|
33
33
|
name = k
|
|
34
34
|
replicates = v
|
|
@@ -39,7 +39,7 @@ def name_extraction(file):
|
|
|
39
39
|
final_key = f"{name}_idx-_{index}"
|
|
40
40
|
molecule.SetProp("_Name", final_key)
|
|
41
41
|
final_names_dict[final_key] = molecule
|
|
42
|
-
|
|
42
|
+
idx_names[index] = final_key
|
|
43
43
|
else:
|
|
44
44
|
for r in replicates:
|
|
45
45
|
index = r[0]
|
|
@@ -47,8 +47,15 @@ def name_extraction(file):
|
|
|
47
47
|
final_key = name
|
|
48
48
|
molecule.SetProp("_Name", final_key)
|
|
49
49
|
final_names_dict[final_key] = molecule
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
idx_names[index] = final_key
|
|
51
|
+
f_names = [None] * (max(idx_names) + 1)
|
|
52
|
+
for i_idx, i_name in idx_names.items():
|
|
53
|
+
f_names[i_idx] = i_name
|
|
54
|
+
final_names = f_names
|
|
55
|
+
dataframe = pd.DataFrame(
|
|
56
|
+
{'molecules': [final_names_dict[name] for name in final_names]},
|
|
57
|
+
index=final_names
|
|
58
|
+
)
|
|
52
59
|
return final_names, dataframe
|
|
53
60
|
|
|
54
61
|
|
MASSA_Algorithm/MASSAlogos.py
CHANGED
|
@@ -20,7 +20,7 @@ def initial_print():
|
|
|
20
20
|
██░░░▓▓▓▓░░░░░░░▓▓▓▓░░░░░░░▓▓▓▓░░░░█
|
|
21
21
|
██░░░░▓▓▓▓▓▓░░░░░▓▓▓▓▓▓░░░░░▓▓▓▓▓▓░░░░█ MASSA Algorithm:
|
|
22
22
|
████░░░░░▓▓▓▓░░░░░░░▓▓▓▓░░░░░░░▓▓▓▓░░░░░█████ Molecular data set sampling — Training-Test Separation
|
|
23
|
-
█▓▓▓███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░███▓▓▓█ Version: v. 2.2.
|
|
23
|
+
█▓▓▓███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░███▓▓▓█ Version: v. 2.2.2
|
|
24
24
|
█▒▓▓▒▒▒████░░░░░░░░░░░░░░░░░░░░░░░░░░░░████▒▒▓▓▒█
|
|
25
25
|
██▓▒▒▒▓▓▓▓██████████████████████████████▓▓▓▒▒▒▒▓█ Developed by: Gabriel Corrêa Veríssimo
|
|
26
26
|
██▒▒▒▓▓▒▒▒▒▓▓▒▒▒▒▓▓▒▒▒▒▒▒▒▒▒▒▒▒▓▓▒▒▒▒▓▓▒▒▒▓▓▒▒██ LICENSE: AGPL-3.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: MASSA-Algorithm
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.2
|
|
4
4
|
Summary: MASSA Algorithm is a Python package to separate data sets of molecules into training and test sets, considering the diversity of structural, physicochemical and biological characteristics of these molecules.
|
|
5
5
|
Home-page: https://github.com/gcverissimo/MASSA_Algorithm
|
|
6
6
|
Author: Gabriel Corrêa Veríssimo
|
|
@@ -2,8 +2,8 @@ MASSA_Algorithm/MASSA.py,sha256=2CxEnm4DokqHVQqJvLFd0Z33EsOGA5lS7kERwCYAkj0,1333
|
|
|
2
2
|
MASSA_Algorithm/MASSAargs.py,sha256=rMlV-8ty-Cup7zufVaDY1QQv41azusgH_AwLJgxtEwc,12088
|
|
3
3
|
MASSA_Algorithm/MASSAcluster.py,sha256=aHYRHeuHxzGyiW3KIT4K3cCBddgnjKZj1U63cNCTv6U,21316
|
|
4
4
|
MASSA_Algorithm/MASSAdescriptors.py,sha256=g34_1CCJLwacj9qEfEyGe4Ci-5EKZc-DAHiFuEE8IC4,3066
|
|
5
|
-
MASSA_Algorithm/MASSAextraction.py,sha256=
|
|
6
|
-
MASSA_Algorithm/MASSAlogos.py,sha256=
|
|
5
|
+
MASSA_Algorithm/MASSAextraction.py,sha256=mVCkizwYs3_4udzqbfYFpN0flCA0rK3n5SQPFoELLe4,7327
|
|
6
|
+
MASSA_Algorithm/MASSAlogos.py,sha256=pEmkEwg5yJyPPSuB8yXaTTAGGNS4muuN0PHVzMggZCY,3629
|
|
7
7
|
MASSA_Algorithm/MASSAmoloutput.py,sha256=X-gMvIQ7oEkpdXdPEI5FevncDgnM02X4C-oQrOoaejI,3643
|
|
8
8
|
MASSA_Algorithm/MASSAod.py,sha256=C2pkFMo5icH9tKZxxsEuqjFMl8FyP7HlSaDqqKHYWHw,657
|
|
9
9
|
MASSA_Algorithm/MASSAopen_files.py,sha256=YHEAB6O7Y2OLYQoKNSFVjVi0BNoA0zN191FWWidS8b8,11763
|
|
@@ -11,9 +11,9 @@ MASSA_Algorithm/MASSApreparation.py,sha256=PxKyZxvfZKt5lwrB2RtohwqWFLMzDPpscINZO
|
|
|
11
11
|
MASSA_Algorithm/MASSAsplit.py,sha256=Gdch0jZY_bLmKWFWNeZ-b-Zmt_HkrdpN1ej2fU_u5gQ,16460
|
|
12
12
|
MASSA_Algorithm/__init__.py,sha256=yY3Tbs-t4HSl4I0Ev0RcHMnHU7SwljlWRveiRJkeCB8,10
|
|
13
13
|
MASSA_Algorithm/pyMASSA.py,sha256=4XbWfW4QTleIupFmluhOIohv6S9VPGtuNBeHDWVTQMg,14507
|
|
14
|
-
massa_algorithm-2.2.
|
|
15
|
-
massa_algorithm-2.2.
|
|
16
|
-
massa_algorithm-2.2.
|
|
17
|
-
massa_algorithm-2.2.
|
|
18
|
-
massa_algorithm-2.2.
|
|
19
|
-
massa_algorithm-2.2.
|
|
14
|
+
massa_algorithm-2.2.2.dist-info/licenses/LICENSE,sha256=bx5iLIKjgAdYQ7sISn7DsfHRKkoCUm1154sJJKhgqnU,35184
|
|
15
|
+
massa_algorithm-2.2.2.dist-info/METADATA,sha256=cbkmY8b3YghW1kzKlPV3Rt5HrlHCWvqc24JdcwZNo1g,10799
|
|
16
|
+
massa_algorithm-2.2.2.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
|
|
17
|
+
massa_algorithm-2.2.2.dist-info/entry_points.txt,sha256=oMtqswy07Di-w2uIYAEvenBKl0ovsr9AYm_yxn6LGtU,63
|
|
18
|
+
massa_algorithm-2.2.2.dist-info/top_level.txt,sha256=IZyttJ20RSD8w9nAcaTHWAvkvxHV5FGaVGB7mDrw9Cc,16
|
|
19
|
+
massa_algorithm-2.2.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|