# Unable to get table for multiple linenames in astroquery.nist

**URL:** <https://community.openastronomy.org/t/unable-to-get-table-for-multiple-linenames-in-astroquery-nist/352>\
**Category:** Astropy\
**Created:** [May 4, 2022, 8:25am UTC](https://community.openastronomy.org/t/unable-to-get-table-for-multiple-linenames-in-astroquery-nist/352 "2022-05-04T08:25:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saptarshi\_S](https://avatars.discourse-cdn.com/v4/letter/s/c67d28/32.png) [@Saptarshi\_S](https://community.openastronomy.org/u/Saptarshi_S)\
**Post date:** [May 4, 2022, 8:25am UTC](https://community.openastronomy.org/t/unable-to-get-table-for-multiple-linenames-in-astroquery-nist/352/1 "2022-05-04T08:25:16Z")

</div>

I apologize if I am making a silly mistake, but I am unable to get the NIST data table when using multiple element names while using astroquery.nist.

Using

```auto
from astroquery.nist import Nist
Nist.query((np.around(6500,2)-0.1)*u.AA, (np.around(6550,2)+0.1)*u.AA, linename='Al',wavelength_type='vac+air')

```

gives me a table, but using

```auto
from astroquery.nist import Nist
Nist.query((np.around(6500,2)-0.1)*u.AA, (np.around(6550,2)+0.1)*u.AA, linename='Al;Ba',wavelength_type='vac+air')

```

does not.

 ![1](https://europe1.discourse-cdn.com/flex005/uploads/openastronomy/original/1X/95b72736e5f504a973ec70bf9c1acc7a21a31bc2.png)

Any help will be greatly appreciated!
