Skip to content

Commit

Permalink
Only print debugs on linked components when there is an associated li…
Browse files Browse the repository at this point in the history
…nked block
  • Loading branch information
keckler committed Oct 9, 2023
1 parent 4ccf358 commit e2f83ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions armi/reactor/converters/axialExpansionChanger.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,12 +502,12 @@ def _getLinkedComponents(self, b, c):

self.linkedComponents[c] = lstLinkedC

if lstLinkedC[0] is None:
if lstLinkedC[0] is None and self.linkedBlocks[b][0] is not None:
runLog.debug(
f"Assembly {self.a}, Block {b}, Component {c} has nothing linked below it!",
single=True,
)
if lstLinkedC[1] is None:
if lstLinkedC[1] is None and self.linkedBlocks[b][1] is not None:
runLog.debug(
f"Assembly {self.a}, Block {b}, Component {c} has nothing linked above it!",
single=True,
Expand Down

0 comments on commit e2f83ee

Please sign in to comment.