Skip to content

Commit 6759376

Browse files
Invalid packages import for geos-mesh, impacting documentation (#32)
Updating sphinx and sphinx-argparse solved the issue.
1 parent 53fe746 commit 6759376

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

docs/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
sphinx >= 7.4.7
12
sphinx_rtd_theme
2-
sphinx-argparse
3+
sphinx-argparse >= 0.5.2
34
sphinx-design
45
# Running CLI programs and capture outputs
56
sphinxcontrib-programoutput>=0.17

geos-mesh/src/geos/mesh/conversion/main.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import argparse
22
import logging
33
import sys
4+
from geos.mesh.conversion import abaqus_converter
45

56

67
def build_abaqus_converter_input_parser() -> argparse.ArgumentParser:
@@ -25,8 +26,6 @@ def main() -> None:
2526
output (str): Output mesh file name
2627
-v/--verbose (flag): Increase verbosity level
2728
"""
28-
from geosx_mesh_tools import abaqus_converter
29-
3029
# Parse the user arguments
3130
parser = build_abaqus_converter_input_parser()
3231
args = parser.parse_args()
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Empty

0 commit comments

Comments
 (0)