Skip to content

Commit

Permalink
Ramp: started adding foreign ID type labels
Browse files Browse the repository at this point in the history
  • Loading branch information
deeenes committed Nov 14, 2024
1 parent 55ba43f commit 931eb3b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion omnipath_metabo/schema/_structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,11 @@ def __iter__(self):
'properties':(met['annot'].get('EXACT_MASS', None), None, None, met['name'].get('FORMULA', None) )
}

class Ramp():
class Ramp(ResourceBase):
scheme = Structure
name = 'RaMP'
id_fields = sorted(ramp.ramp_id_types())

def __iter__(self):

for row in ramp.ramp_iter('chem_props'):
Expand Down

0 comments on commit 931eb3b

Please sign in to comment.