-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
Fix Virtual Packet Logging Bug #1846
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1846 +/- ##
==========================================
- Coverage 58.04% 57.65% -0.39%
==========================================
Files 66 66
Lines 6747 6809 +62
==========================================
+ Hits 3916 3926 +10
- Misses 2831 2883 +52
Continue to review full report at Codecov.
|
Before a pull request is accepted, it must meet the following criteria:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the docstring for montecarlo_main_loop
. You don't need to document all the other inputs, just the one you've added.
Resolves #1764
Description
The
montecarlo_configuration.VPACKET_LOGGING
in themontecarlo_main_loop
function was being cached.This prevented variables related to virtual packets from populating and raised an error. Passing
virtual_packet_logging
in themontecarlo_main_loop
function fixes this.tardis/tardis/montecarlo/montecarlo_numba/base.py
Lines 280 to 328 in f24be9a
Motivation and context
Resolves #1764 and partially solves failing SDEC tests problem #1752
How has this been tested?
Examples
Type of change
Checklist