Skip to content
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

move transport related parts to r_packet_transport #1874

Merged

Conversation

wkerzendorf
Copy link
Member

from r_packet.py (which is only for definitions)

from r_packet.py (which is only for definitions)
@tardis-bot
Copy link
Contributor

Before a pull request is accepted, it must meet the following criteria:

  • Is the necessary information provided?
  • Is this a duplicate PR?
    • If a new PR is clearly a duplicate, ask how this PR is different from the original PR?
    • If this PR is about to be merged, close the original PR with a link to this new PR that solved the issue.
  • Does it pass existing tests and are new tests provided if required?
    • The test coverage should not decrease, and for new features should be close to 100%.
  • Is the code tidy?
    • No unnecessary print lines or code comments.

@wkerzendorf wkerzendorf requested a review from Rodot- January 25, 2022 14:48
@@ -6,6 +6,7 @@
import tardis.montecarlo.montecarlo_numba.calculate_distances as calculate_distances
import tardis.montecarlo.montecarlo_numba.frame_transformations as frame_transformations
import tardis.montecarlo.montecarlo_numba.opacities as opacities
import tardis.montecarlo.montecarlo_numba.r_packet_transport
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would change this to add as r_packet_transport

@@ -50,6 +50,7 @@
import pandas as pd
import tardis.montecarlo.montecarlo_numba.formal_integral as formal_integral
import tardis.montecarlo.montecarlo_numba.r_packet as r_packet
import tardis.montecarlo.montecarlo_numba.r_packet_transport
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

@codecov
Copy link

codecov bot commented Jan 25, 2022

Codecov Report

Merging #1874 (5aa5c6c) into master (d80d205) will increase coverage by 0.02%.
The diff coverage is n/a.

❗ Current head 5aa5c6c differs from pull request most recent head 7850bf8. Consider uploading reports for the commit 7850bf8 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1874      +/-   ##
==========================================
+ Coverage   62.21%   62.24%   +0.02%     
==========================================
  Files          66       67       +1     
  Lines        6826     6830       +4     
==========================================
+ Hits         4247     4251       +4     
  Misses       2579     2579              
Impacted Files Coverage Δ
.../montecarlo/montecarlo_numba/r_packet_transport.py 16.45% <0.00%> (ø)
...rdis/tardis/montecarlo/montecarlo_numba/vpacket.py 19.19% <0.00%> (+0.82%) ⬆️
.../montecarlo/montecarlo_numba/single_packet_loop.py 31.25% <0.00%> (+1.46%) ⬆️
...dis/tardis/montecarlo/montecarlo_numba/r_packet.py 48.64% <0.00%> (+23.21%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d80d205...7850bf8. Read the comment docs.

@wkerzendorf wkerzendorf force-pushed the montecarlo/refactor_r_packet branch from d561eeb to 7850bf8 Compare January 25, 2022 15:51
@wkerzendorf wkerzendorf merged commit c44183d into tardis-sn:master Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants