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

refactor!: remove ReactionInfo from data interface #294

Merged
merged 3 commits into from
Jun 24, 2021
Merged

Conversation

redeboer
Copy link
Member

@redeboer redeboer commented Jun 24, 2021

Removes AmpForm/QRules's ReactionInfo from the main interface. This makes generate_phsp and generate_data a bit more clumsy in usage, but the benefit is that ampform is not imported into TensorWaves's interface module.

This PR is required for #292.

@redeboer redeboer added the ⚠️ Interface Breaking changes to the API label Jun 24, 2021
@redeboer redeboer added this to the 0.3.0 milestone Jun 24, 2021
@redeboer redeboer self-assigned this Jun 24, 2021
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@codecov
Copy link

codecov bot commented Jun 24, 2021

Codecov Report

Merging #294 (ec244e2) into main (942f4b5) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #294      +/-   ##
==========================================
- Coverage   80.54%   80.52%   -0.02%     
==========================================
  Files          13       13              
  Lines         843      837       -6     
==========================================
- Hits          679      674       -5     
+ Misses        164      163       -1     
Flag Coverage Δ
unittests 80.52% <100.00%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/tensorwaves/__init__.py 100.00% <ø> (ø)
src/tensorwaves/data/__init__.py 96.87% <100.00%> (-0.05%) ⬇️
src/tensorwaves/data/phasespace.py 93.93% <100.00%> (+2.04%) ⬆️
src/tensorwaves/interface.py 75.92% <100.00%> (-0.23%) ⬇️

@redeboer redeboer merged commit d24ec81 into main Jun 24, 2021
@redeboer redeboer deleted the data-interface branch June 24, 2021 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚠️ Interface Breaking changes to the API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant