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

Removing Component.getMassDensity #1266

Merged
merged 1 commit into from
May 18, 2023
Merged

Removing Component.getMassDensity #1266

merged 1 commit into from
May 18, 2023

Conversation

onufer
Copy link
Member

@onufer onufer commented May 17, 2023

Description

The major goal of this PR is to elliminate confusion with Component.density(). (This undoes refactor in #818).


Checklist

  • This PR has only one purpose or idea.
  • Tests have been added/updated to verify that the new/changed code works.
  • The release notes (location doc/release/0.X.rst) are up-to-date with any bug fixes or new features.
  • The documentation is still up-to-date in the doc folder.
  • The dependencies are still up-to-date in setup.py.

@onufer onufer requested a review from john-science May 17, 2023 21:09
@albeanth
Copy link
Member

Tagging @drewj-usnctech and @sombrereau just as a heads up for their projects in case this will affect them adversely.

@onufer
Copy link
Member Author

onufer commented May 18, 2023

Yes, if there are adverse effects we can rename getMassDensity to getMassDensityOfNucs or something to that effect. none of our plugins had picked it up in the 8 months, but if yours had let us know.

@john-science john-science changed the title remove getMassDensity Removing Component.getMassDensity May 18, 2023
Copy link
Member

@john-science john-science left a comment

Choose a reason for hiding this comment

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

From what I can tell, there are no downstream projects directly using this method.

@john-science john-science added the cleanup Code/comment cleanup: Low Priority label May 18, 2023
@john-science john-science merged commit 93ba0cf into main May 18, 2023
@john-science john-science deleted the removeGetMassDensity branch May 18, 2023 17:17
drewj-usnctech added a commit to drewj-usnctech/armi that referenced this pull request Jun 1, 2023
* main: (23 commits)
  block converters preserve flags (terrapower#1271)
  Fixed float decimals v3 (terrapower#1283)
  Fixed string format error for snapshots (terrapower#1277)
  Pinning the versions of yamlize and ruamel (terrapower#1281)
  Releasing v0.2.7 (terrapower#1276)
  Creating verisons setting section (terrapower#1274)
  Adding to GlobalFluxOptions docstring (terrapower#1273)
  Harmonize material names and class names (terrapower#1270)
  Removing Component.getMassDensity (terrapower#1266)
  Cleaning up language for our versioning rules (terrapower#1175)
  Fixing the Settings Report in the Docs (terrapower#1264)
  Fixing getTemperatureAtDensity to use non-pseduo density (terrapower#1262)
  Fixing settings report docs from terrapower#1207 (terrapower#1263)
  Update test_components.py (terrapower#1261)
  Update gamma Uniform Mesh Converter (terrapower#1213)
  Updating way that settings report defaults are printed (terrapower#1207)
  Fixing UserPlugins.defineFlag (terrapower#1241)
  quick bug fix for PR 1239 (terrapower#1260)
  New Option to Control Lattice Physics Update Frequency (terrapower#1239)
  Fix a bug in database compare. (terrapower#1258)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Code/comment cleanup: Low Priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants