From c63cb148dbf1e66b162af2a23cabd2896d0bc0e6 Mon Sep 17 00:00:00 2001 From: giovaniceotto Date: Wed, 14 Feb 2024 07:35:08 -0300 Subject: [PATCH] MAINT: make base_radius last add_nose argument to avoid breaking changes --- rocketpy/rocket/rocket.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rocketpy/rocket/rocket.py b/rocketpy/rocket/rocket.py index 5781d22ed..4b7fb2d91 100644 --- a/rocketpy/rocket/rocket.py +++ b/rocketpy/rocket/rocket.py @@ -876,7 +876,7 @@ def add_tail( return tail def add_nose( - self, length, kind, position, bluffness=0, base_radius=None, name="Nose Cone" + self, length, kind, position, bluffness=0, name="Nose Cone", base_radius=None ): """Creates a nose cone, storing its parameters as part of the aerodynamic_surfaces list. Its parameters are the axial position @@ -898,10 +898,10 @@ def add_nose( bluffness : float, optional Ratio between the radius of the circle on the tip of the ogive and the radius of the base of the ogive. - base_radius : int, float, optional - Nose cone base radius in meters. If not given, use rocket radius. name : string Nose cone name. Default is "Nose Cone". + base_radius : int, float, optional + Nose cone base radius in meters. If not given, use rocket radius. See Also --------