-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmolecule_plotter.py
More file actions
51 lines (42 loc) · 835 Bytes
/
Copy pathmolecule_plotter.py
File metadata and controls
51 lines (42 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#importing some of my functions
from index_generation import read_pickle
from index_generation import molecule_plotter
from index_generation import img_read_and_plot
index_smile_dict = read_pickle("index_smile_dict.pkl")
bad_ketones = [
"100073",
"100269",
"100168",
"100269",
"100168",
"100073",
"100083",
"100090",
"100266",
"100263"
]
bad_amides = [
"100082",
"100082",
"10010",
"100148",
"100148",
"100169",
"100094",
"10010",
"100082",
"100074"
]
bad_alcohols = [
"100029",
"100008",
"100022",
"100014",
"100022",
"100008",
"100011",
"100014",
"100029",
"100005"]
for index in bad_alcohols:
molecule_plotter(index_smile_dict[index], filename = f"molecule_plot/bad_alcohols/molecule_{index}.png")