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

Next openMC release #83

Merged
merged 21 commits into from
Jun 29, 2023
Merged

Next openMC release #83

merged 21 commits into from
Jun 29, 2023

Conversation

RemDelaporteMathurin
Copy link
Member

This is an attempt at fixing #80

@RemDelaporteMathurin
Copy link
Member Author

@shimwell fully removing param stuff solves the failing tests in #172

However, the input checks are now fails but this is easy to fix.

@RemDelaporteMathurin
Copy link
Member Author

@shimwell this is now ready for review.

In a nutshell, removed all param stuff and replaced with good old getters and setters methods.

@codecov
Copy link

codecov bot commented Jun 28, 2023

Codecov Report

Merging #83 (3e69d9d) into main (0917dc9) will decrease coverage by 0.34%.
The diff coverage is 96.40%.

@@            Coverage Diff             @@
##             main      #83      +/-   ##
==========================================
- Coverage   96.29%   95.96%   -0.34%     
==========================================
  Files           7        7              
  Lines         216      347     +131     
==========================================
+ Hits          208      333     +125     
- Misses          8       14       +6     
Impacted Files Coverage Δ
openmc_plasma_source/tokamak_source.py 94.73% <92.85%> (-2.46%) ⬇️
openmc_plasma_source/fuel_types.py 100.00% <100.00%> (ø)
openmc_plasma_source/point_source.py 100.00% <100.00%> (ø)
openmc_plasma_source/ring_source.py 100.00% <100.00%> (ø)

@shimwell
Copy link
Member

Thanks for maintaining this package Remi, the best part of this is the tokamak plasma source you made. Sadly I don't use this source much anymore but good to keep this package alive.

I shall review and perhaps we make a release after the next openmc release

@RemDelaporteMathurin
Copy link
Member Author

Thanks for maintaining this package Remi, the best part of this is the tokamak plasma source you made. Sadly I don't use this source much anymore but good to keep this package alive.

I shall review and perhaps we make a release after the next openmc release

No problem. Maybe we can wait until the next openmc release and ping to a static version of the openmc image instead of develop.

This was referenced Jun 28, 2023
Copy link
Member

@shimwell shimwell left a comment

Choose a reason for hiding this comment

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

Nice PR, many thanks

I plan to follow this up with a PR that modernizes the install method and another one that checks the version of openmc used is >= 0.13.4

@shimwell shimwell merged commit d10f0c2 into main Jun 29, 2023
@RemDelaporteMathurin
Copy link
Member Author

Oh so we're merging this now? the newest version of openmc hasn't been released yet though

@shimwell
Copy link
Member

Oh sorry, I thought that was the plan. We don't make a PyPi release till the openmc release

@egor1abs
Copy link

egor1abs commented Dec 1, 2023

Hello! What about updating package for OpenMC 0.14.0?

@shimwell
Copy link
Member

shimwell commented Dec 1, 2023

thanks @egor1abs I've just made a releae of version 0.3.0
openmc-plasma-source

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