Skip to content

Commit

Permalink
use vamdc key
Browse files Browse the repository at this point in the history
  • Loading branch information
keflavich committed Mar 10, 2016
1 parent bdd493e commit ff7393c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion astroquery/vamdc/load_species_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ def species_lookuptable():
result = request.getspecies()
molecules = result.data['Molecules']

lookuptable = SpeciesLookuptable({molecules[key].OrdinaryStructuralFormula: key
lookuptable = SpeciesLookuptable({molecules[key].OrdinaryStructuralFormula:
molecules[key].VAMDCSpeciesID
for key in molecules})

return lookuptable

0 comments on commit ff7393c

Please sign in to comment.