From 3cede1067fb7a28ea1590c96364571cf8857a18e Mon Sep 17 00:00:00 2001 From: Arrielle Opotowsky Date: Thu, 28 Dec 2023 16:31:39 -0600 Subject: [PATCH] Remove R_ARMI_CMP_CHILDREN related tags, replacing with R_ARMI_CMP --- armi/reactor/composites.py | 8 ++++---- armi/reactor/tests/test_composites.py | 10 +++------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/armi/reactor/composites.py b/armi/reactor/composites.py index 84f3d42f1..763b5cb9d 100644 --- a/armi/reactor/composites.py +++ b/armi/reactor/composites.py @@ -2669,7 +2669,7 @@ class Composite(ArmiObject): reactors. .. impl:: Composites are a physical part of the reactor in a hierarchical data model. - :id: I_ARMI_CMP + :id: I_ARMI_CMP0 :implements: R_ARMI_CMP """ @@ -2776,9 +2776,9 @@ def getChildren( """ Return the children objects of this composite. - .. impl:: Composites have children, in the hierarchical data model. - :id: I_ARMI_CMP_CHILDREN - :implements: R_ARMI_CMP_CHILDREN + .. impl:: Composites have children in the hierarchical data model. + :id: I_ARMI_CMP1 + :implements: R_ARMI_CMP Parameters ---------- diff --git a/armi/reactor/tests/test_composites.py b/armi/reactor/tests/test_composites.py index a6a91a97e..bd5c65d6b 100644 --- a/armi/reactor/tests/test_composites.py +++ b/armi/reactor/tests/test_composites.py @@ -114,12 +114,8 @@ def test_composite(self): """Test basic Composite things. .. test:: Composites are part of a hierarchical model. - :id: T_ARMI_CMP + :id: T_ARMI_CMP0 :tests: R_ARMI_CMP - - .. test:: Composites are part of a hierarchical model. - :id: T_ARMI_CMP_CHILDREN0 - :tests: R_ARMI_CMP_CHILDREN """ container = self.container @@ -137,8 +133,8 @@ def test_getChildren(self): """Test the get children method. .. test:: Composites are part of a hierarchical model. - :id: T_ARMI_CMP_CHILDREN1 - :tests: R_ARMI_CMP_CHILDREN + :id: T_ARMI_CMP1 + :tests: R_ARMI_CMP """ # There are 5 leaves and 1 composite in container. The composite has one leaf. firstGen = self.container.getChildren()