-
-
Notifications
You must be signed in to change notification settings - Fork 409
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
Removed the deprecated --with-vpacket-logging flag #1459
Conversation
Merging with local repo
removed--with-vpacket-logging
Codecov Report
@@ Coverage Diff @@
## master #1459 +/- ##
=======================================
Coverage 71.13% 71.13%
=======================================
Files 67 67
Lines 5523 5523
=======================================
Hits 3929 3929
Misses 1594 1594
Continue to review full report at Codecov.
|
@wkerzendorf can you review this PR? |
@antreev-brar There is additional |
@wkerzendorf Thanks for letting me know. From my point of view, the code fragment uses the "build", "install", and "develop" parameters of "with-vpacket-logging" from the setup.py ( which were already removed ). Therefore we should remove this code fragment as well. I have changed this file. |
* numba_warning * removed--with-vpacket-logging * Revised warnings * removed_vpacket_code_fragment Co-authored-by: antreev-brar <[email protected]>
This Pull request aims to resolve the issue #1342 Remove virtual packet logging compile flag as it was deprecated with the numba code.
Description
The changes made to the code are
add_command_option
for thewith-vpacket-logging
in setup.pyfull_hdf_properties
withwith-vpacket-logging
flag in tardis/montecarlo/base.pyvirtual_packet_nu , virtual_packet_energy, virtual_packet_luminosity
that worked withwith-vpacket-logging
flag in tardis/montecarlo/base.pyMotivation and Context
This pull request addresses the issue raised in #1342
Earlier there were several essential features of tardis that require compiling it with vpacket logging, but this was changed with numba-montecarlo as described in issue #1215 . I went through the code and removed instances of "with-vpacket-logging". I was unsure whether the properties must be removed but I ensured that they weren't called from anywhere in the code. Hence they were redundant as well.
How Has This Been Tested?
I checked it by running unit tests on it with
python setup.py test
that gave the following output on my local machine.I also ran
python setup.py test --args="--tardis-refdata=/path/to/tardis-refdata/"
test and gave the following log outputAlso the example notebook given in quickstart https://tardis-sn.github.io/tardis/quickstart/quickstart.html executed without any issues.
Screenshots (if appropriate):
N/A
Types of changes
Removed deprecated segment from the code.
Checklist: