Skip to content

Commit

Permalink
Merge pull request #236 from lnevay/solid-docstring-fix
Browse files Browse the repository at this point in the history
Solid docstring fix
  • Loading branch information
lnevay authored Feb 16, 2025
2 parents 0bbe199 + d135fc4 commit 75485ec
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/pyg4ometry/geant4/solid/Box.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ class Box(_SolidBase):
:param name: of solid for registry
:type name: str
:param pX: length along x
:param pX: full length along x
:type pX: float, Constant, Quantity, Variable, Expression
:param pY: length along y
:param pY: full length along y
:type pY: float, Constant, Quantity, Variable, Expression
:param pZ: length along z
:param pZ: full length along z
:type pZ: float, Constant, Quantity, Variable, Expression
:param registry: for storing solid
:type registry: Registry
Expand Down
2 changes: 1 addition & 1 deletion src/pyg4ometry/geant4/solid/Cons.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Cons(_SolidBase):
:type pRMin2: float, Constant, Quantity, Variable
:param pRMax2: outer radius at +pDz/2
:type pRMax2: float, Constant, Quantity, Variable
:param pDz: length along z
:param pDz: full length along z
:type pDz: float, Constant, Quantity, Variable
:param pSPhi: starting phi angle
:type pSPhi: float, Constant, Quantity, Variable
Expand Down
2 changes: 1 addition & 1 deletion src/pyg4ometry/geant4/solid/CutTubs.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class CutTubs(_SolidBase):
:type pRMin: float, Constant, Quantity, Variable
:param pRMax: Outer radius
:type pRMax: float, Constant, Quantity, Variable
:param pDz: length along z
:param pDz: full length along z
:type pDz: float, Constant, Quantity, Variable
:param pSPhi: starting phi angle
:type pSPhi: float, Constant, Quantity, Variable
Expand Down
2 changes: 1 addition & 1 deletion src/pyg4ometry/geant4/solid/EllipticalTube.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class EllipticalTube(_SolidBase):
:type pDx: float, Constant, Quantity, Variable, Expression
:param pDy: length in y
:type pDy: float, Constant, Quantity, Variable, Expression
:param pDz: length in z
:param pDz: full length in z
:type pDz: float, Constant, Quantity, Variable, Expression
:param registry: for storing solid
:type registry: Registry
Expand Down

0 comments on commit 75485ec

Please sign in to comment.