We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
LipidMaps
structure
1 parent 3e85baf commit 436b721Copy full SHA for 436b721
omnipath_metabo/schema/_structure.py
@@ -52,14 +52,18 @@ class SwissLipids():
52
def __iter__(self):
53
for met in swisslipids.swisslipids_lipids():
54
yield met['Lipid ID'], met['SMILES (pH7.3)']
55
-"""
+
56
57
class LipidMaps():
58
scheme = Structure
59
60
- sdf = lipidmaps.structure.
61
- for met in sdf.data:
62
- yield met['LM_ID'], met['SMILES']
63
+ sdf = lipidmaps.lmsd_sdf()
+ for met in sdf:
64
65
+ if smiles := met['name'].get('SMILES', None):
66
67
+ yield met['id'], smiles
68
69
#Ramp and LipidMaps
0 commit comments