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
I see what you mean. The iterator doesn't reset after you loop over it the first time. I think we can fix it by moving the file deletion into the 2nd loop. Let me give it a try.
I've been having unexpected issues with the lightcurve generation in fermipy once I set save_bin_data to False.
Here's the error:
After some digging, I realized that if
save_bin_data
is set toFalse
, then infermipy/fermipy/lightcurve.py
Lines 440 to 442 in b016308
you iterate over
mapo
, and then infermipy/fermipy/lightcurve.py
Line 450 in b016308
the iterator is exhausted and raises the
StopIteration
error.The solution I found for now is to simply set
save_bin_data
toTrue
again, and it works just fine.The text was updated successfully, but these errors were encountered: