From 0b9605a890822606e829bddc316cf6889578bf0e Mon Sep 17 00:00:00 2001 From: Carl Recine Date: Tue, 3 Dec 2024 15:48:54 -0800 Subject: [PATCH] fix for CI --- aviary/docs/developer_guide/doctape_examples.ipynb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/aviary/docs/developer_guide/doctape_examples.ipynb b/aviary/docs/developer_guide/doctape_examples.ipynb index 24edcdfe6..4fb7f3006 100644 --- a/aviary/docs/developer_guide/doctape_examples.ipynb +++ b/aviary/docs/developer_guide/doctape_examples.ipynb @@ -407,12 +407,12 @@ "outputs": [], "source": [ "# Testing Cell\n", - "from aviary.api import Mission\n", + "from aviary.api import Aircraft\n", "from aviary.utils.doctape import glue_variable, get_previous_line, get_variable_name\n", "\n", - "glue_variable('value', Mission.Design.MACH, md_code=True)\n", + "glue_variable('value', Aircraft.Design.EMPTY_MASS, md_code=True)\n", "glue_variable('var_value_code', get_previous_line(), md_code=True)\n", - "glue_variable(get_variable_name(Mission.Design.MACH), md_code=True)\n", + "glue_variable(get_variable_name(Aircraft.Design.EMPTY_MASS), md_code=True)\n", "glue_variable('var_name_code', get_previous_line(), md_code=True)\n" ] }, @@ -423,7 +423,7 @@ "If you want to glue the name of a variable, instead of the value that variable holds, you can use the {glue:md}`get_variable_name` to extract it.\n", "\n", "For example:\n", - "Using {glue:md}`var_value_code` will result in {glue:md}`value`, whereas using {glue:md}`var_name_code` will result in {glue:md}`Mission.Design.MACH`\n", + "Using {glue:md}`var_value_code` will result in {glue:md}`value`, whereas using {glue:md}`var_name_code` will result in {glue:md}`Aircraft.Design.EMPTY_MASS`\n", "\n", "### {glue:md}`get_attribute_name`\n", "allows users to get the name of object attributes in order to glue them into documentation. This works well for Enums or Class Variables that have unique values."