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

Fixing integrability opcards #41

Merged
merged 9 commits into from
Aug 25, 2022
Merged

Fixing integrability opcards #41

merged 9 commits into from
Aug 25, 2022

Conversation

andreab1997
Copy link
Contributor

We realized that the opcards for the integrability grids were wrongly generated by pineko. In particular the point in targetgrid was not contained in the interpolation_x_grid list.

@codecov
Copy link

codecov bot commented Aug 18, 2022

Codecov Report

Merging #41 (d0c18fb) into main (707f21f) will decrease coverage by 0.37%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #41      +/-   ##
==========================================
- Coverage   44.53%   44.16%   -0.38%     
==========================================
  Files          15       15              
  Lines         595      600       +5     
==========================================
  Hits          265      265              
- Misses        330      335       +5     
Flag Coverage Δ
unittests 44.16% <0.00%> (-0.38%) ⬇️

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

Impacted Files Coverage Δ
src/pineko/cli/opcard.py 84.61% <ø> (ø)
src/pineko/evolve.py 27.77% <0.00%> (-2.84%) ⬇️

Copy link
Contributor

@felixhekhorn felixhekhorn left a comment

Choose a reason for hiding this comment

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

  • I would appreciate if your commit message contains more information then just "Fixing" 🙃 e.g. "Add int parameter to API" or "Propagate integrability info" or whatever ;-)
  • if this fix is doing the trick - I'm happy to merge for now ...

for the future we may however reconsider:

@andreab1997
Copy link
Contributor Author

andreab1997 commented Aug 18, 2022

  • I would appreciate if your commit message contains more information then just "Fixing" 🙃 e.g. "Add int parameter to API" or "Propagate integrability info" or whatever ;-)

Yes sorry but they were just some minor stuff I forgot.

  • if this fix is doing the trick - I'm happy to merge for now ...

I am testing now

@andreab1997
Copy link
Contributor Author

  • I would appreciate if your commit message contains more information then just "Fixing" 🙃 e.g. "Add int parameter to API" or "Propagate integrability info" or whatever ;-)

Yes sorry but they were just some minor stuff I forgot.

  • if this fix is doing the trick - I'm happy to merge for now ...

I am testing now

Ok I can confirm it works, should I merge? @felixhekhorn

Copy link
Contributor

@felixhekhorn felixhekhorn left a comment

Choose a reason for hiding this comment

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

actually, inside the theory command we should determine the "integrability-property" from the grid - those grids have a marker: the integrability_version

@felixhekhorn
Copy link
Contributor

actually, inside the theory command we should determine the "integrability-property" from the grid - those grids have a marker: the integrability_version

I guess this works even for the file based API since at opcard generation time you need to have a grid present

@andreab1997
Copy link
Contributor Author

actually, inside the theory command we should determine the "integrability-property" from the grid - those grids have a marker: the integrability_version

Right, this seems a better solution than asking for a flag

src/pineko/evolve.py Outdated Show resolved Hide resolved
Copy link
Contributor

@felixhekhorn felixhekhorn left a comment

Choose a reason for hiding this comment

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

I like short PRs ;-)

@andreab1997
Copy link
Contributor Author

@scarlehoff is this ok to merge for you?

@andreab1997 andreab1997 merged commit 15d823d into main Aug 25, 2022
@delete-merged-branch delete-merged-branch bot deleted the fix_inte branch August 25, 2022 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants