You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "c:\users\pablo\appdata\local\programs\python\python39\lib\site-packages\exotic\api\gael_ld.py", line 97, in createldgrid
sc = LDPSetCreator(teff=(tstar, terr), logg=(loggstar, loggerr),
File "c:\users\pablo\appdata\local\programs\python\python39\lib\site-packages\ldtk\ldtk.py", line 425, in __init__
with pf.open(self.files[0]) as hdul:
IndexError: list index out of range
Client.__init__() on line 415 calls self.set_limits() which in certain cases results in client.files being empty. So when the property client.local_filenames is used it can return an empty list. Then the call to pf.open(self.files[0]) in LDPSetCreator.__init__() raises an exception because it's operating on an empty list.
I don't have much more information on why the set of files is empty in the first place, but perhaps we can get a use case to help troubleshoot this. It is currently being exposed by the EXOTIC product in certain very limited circumstances.
The text was updated successfully, but these errors were encountered:
Explanation: This was exposed by "an unphysical value that was marked by NEA - once manually overrode, then things were fine again. ... TL;DR - A bad value was found in the NEA entry for this target."
Client.__init__() on line 415 calls self.set_limits() which in certain cases results in client.files being empty. So when the property client.local_filenames is used it can return an empty list. Then the call to pf.open(self.files[0]) in LDPSetCreator.__init__() raises an exception because it's operating on an empty list.
I don't have much more information on why the set of files is empty in the first place, but perhaps we can get a use case to help troubleshoot this. It is currently being exposed by the EXOTIC product in certain very limited circumstances.
The text was updated successfully, but these errors were encountered: