diff --git a/astroquery/vamdc/load_species_table.py b/astroquery/vamdc/load_species_table.py index e48cfebb08..673d9d4a0d 100644 --- a/astroquery/vamdc/load_species_table.py +++ b/astroquery/vamdc/load_species_table.py @@ -20,8 +20,10 @@ def species_lookuptable(): result = request.getspecies() molecules = result.data['Molecules'] - lookuptable = SpeciesLookuptable({molecules[key].OrdinaryStructuralFormula: - molecules[key].VAMDCSpeciesID - for key in molecules}) + lutdict = {"{0} {1}".format(molecules[key].ChemicalName, + molecules[key].OrdinaryStructuralFormula): + molecules[key].VAMDCSpeciesID + for key in molecules} + lookuptable = SpeciesLookuptable(lutdict) return lookuptable