Skip to content
New issue

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

12C-16O__Li2015 error in generating Exomol_species.dat (script exomol2.py) #19

Open
lorenzo-pino1 opened this issue Sep 4, 2023 · 1 comment

Comments

@lorenzo-pino1
Copy link

The code searches for multiple occurrences of character '__' in the .trans file in Exomol to identify whether the line list is split in wavenumber ranges. However, this specific line list has a naming exception ('12C-16O__Li2015__E2.trans.bz2') which causes the code to fail when entering the 'if' block inside of the function 'transitionRanges'.

@lorenzo-pino1
Copy link
Author

A simple solve is to change the if condition to:

if((len(transList) > 1) and url!='http://exomol.com/data/molecules/CO/12C-16O/Li2015')

But there might be other occurrences.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant