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
~/Documents/PHD/sw_tools/ChiantiPy/ChiantiPy/core/IpyMspectrum.py in __init__(self, temperature, eDensity, wavelength, filter, label, elementList, ionList, minAbund, keepIons, doLines, doContinuum, allLines, em, abundance, verbose, timeout)
249 else:
250 for iTempDen in range(self.NTempDen):
--> 251 twoPhoton[iTempDen] += tp['rate'][iTempDen]
252 else:
253 if 'errorMessage' in sorted(thisIon.Intensity.keys()):
KeyError: 'rate'
Does this happen for you as well?
If you are interested, I could write a couple of automated tests for ChiantiPy, just based on the example codes in the documentation. Would you be interested to integrate them in the project?
Best wishes,
Dag
The text was updated successfully, but these errors were encountered:
I was kind of expecting that. I am sure it is due to the problems created by using only numpy arrays internally. I will look at that. mspectrum and bunch probably have similar problems.
thanks for letting me know.
Ken
Yes, if you wanted to write a couple of automated test that would be great. We already have some written by Will Barnes but they are not complete. I usually do a pytest by hand. Travis CI requires that the entire database be downloaded and that often led to a time out.
Hi Ken and all,
Using the current revision of ChiantiPy the
ipymspectrum
class is not working for me. Following the example in the Quick StartI get the following error
Does this happen for you as well?
If you are interested, I could write a couple of automated tests for ChiantiPy, just based on the example codes in the documentation. Would you be interested to integrate them in the project?
Best wishes,
Dag
The text was updated successfully, but these errors were encountered: