We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I have used your tool for ages, but now it stopped working:
import pyexoplaneteu data = pyexoplaneteu.get_data()
returns this error:
--------------------------------------------------------------------------- KeyError Traceback (most recent call last) Cell In[3], line 2 1 planet = "WASP-18 b" ----> 2 data = pyexoplaneteu.get_data() 3 df = pd.DataFrame(data, index=data['name']) 4 df_pla = df.loc[planet] File [~/anaconda3/envs/exorad/lib/python3.10/site-packages/pyexoplaneteu/pyexoplaneteu.py:275](https://vscode-remote+127-002e0-002e0-002e1-003a8895.vscode-resource.vscode-cdn.net/lustre/astro/aaron/W18b_FLCOLAB/preprocessing/~/anaconda3/envs/exorad/lib/python3.10/site-packages/pyexoplaneteu/pyexoplaneteu.py:275), in get_data(verbose) 272 if verbose: 273 print('Data in `exoplanetEU.csv` is recent.') --> 275 data = read_data(verbose=verbose) 276 return data File [~/anaconda3/envs/exorad/lib/python3.10/site-packages/pyexoplaneteu/pyexoplaneteu.py:240](https://vscode-remote+127-002e0-002e0-002e1-003a8895.vscode-resource.vscode-cdn.net/lustre/astro/aaron/W18b_FLCOLAB/preprocessing/~/anaconda3/envs/exorad/lib/python3.10/site-packages/pyexoplaneteu/pyexoplaneteu.py:240), in read_data(verbose) 238 # but the first label erroneously includes a "#" 239 labels[0] = 'name' --> 240 data['name'] = data.pop('# name') 242 nlab, nlin = len(labels), len(lines) 243 if verbose: KeyError: '# name'
My suspicion is that they changed the format...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I have used your tool for ages, but now it stopped working:
returns this error:
My suspicion is that they changed the format...
The text was updated successfully, but these errors were encountered: