From 24daf154527e2384b4d49bb35edfaf4fe5baceba Mon Sep 17 00:00:00 2001 From: Virinder Sandhu Date: Tue, 6 Feb 2024 15:11:45 -0800 Subject: [PATCH] Update comments --- armi/nuclearDataIO/cccc/nhflux.py | 5 +++-- armi/nuclearDataIO/cccc/tests/test_nhflux.py | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/armi/nuclearDataIO/cccc/nhflux.py b/armi/nuclearDataIO/cccc/nhflux.py index c4a210d8f..f8efbeff5 100644 --- a/armi/nuclearDataIO/cccc/nhflux.py +++ b/armi/nuclearDataIO/cccc/nhflux.py @@ -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() diff --git a/armi/nuclearDataIO/cccc/tests/test_nhflux.py b/armi/nuclearDataIO/cccc/tests/test_nhflux.py index 94e8eecab..d791c33fb 100644 --- a/armi/nuclearDataIO/cccc/tests/test_nhflux.py +++ b/armi/nuclearDataIO/cccc/tests/test_nhflux.py @@ -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():