Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Nebbychadnezzar committed Feb 6, 2024
1 parent 5476dfd commit 24daf15
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions armi/nuclearDataIO/cccc/nhflux.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,9 @@ def readWrite(self):
# Read the hex ordering map between DIF3D nodal and DIF3D GEODST. Also read index
# pointers to incoming partial currents on outer reactor surface (these don't
# belong to any assembly). Incoming partial currents are non-zero due to flux
# extrapolation. This record is only required when nSurf is greater than 1 (it
# is equal to one for VARSRC files, which are a subset of NHFLUX files).
# extrapolation. This record is only required when nSurf is greater than 1. It
# is equal to 1 for VARSRC files, which are a subset of NHFLUX files; VARSRC files
# do not have a 2D record (or 4D or 5D records).
if self._metadata["nSurf"] > 1:
self._rwGeodstCoordMap2D()

Expand Down
4 changes: 2 additions & 2 deletions armi/nuclearDataIO/cccc/tests/test_nhflux.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ def setUpClass(cls):

def test_writeRead(self):
"""
Write out the data structure to file. Then read it back in and make sure it matches
the data currently in memory.
Write out the modified data structure to file. Then, we read it back in and make
sure it matches the data currently in memory.
"""
filename = "VARSRC"
with TemporaryDirectoryChanger():
Expand Down

0 comments on commit 24daf15

Please sign in to comment.