Skip to content

Commit

Permalink
Fixed io docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
fedesemeraro committed Mar 13, 2024
1 parent 675a574 commit c208d34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions python/pumapy/io/input.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,9 +381,9 @@ def import_sparta_implicit_surfaces(filename, dimension=3, voxel_length=1e-6, im
>>> import pumapy as puma
>>> ws = puma.import_bin(puma.path_to_example_file("fibers_with_orientation.pumapy"))
Importing ...
>>> puma.experimental.export_sparta_implicit_surfaces("/Users/fsemerar/Downloads/surfaces", ws)
>>> puma.experimental.export_sparta_implicit_surfaces("surfaces", ws)
Exporting ...
>>> surf = puma.experimental.import_sparta_implicit_surfaces("/Users/fsemerar/Downloads/surfaces.pumapy.isurf", dimension=3, voxel_length=1.0e-6, import_ws=False)
>>> surf = puma.experimental.import_sparta_implicit_surfaces("surfaces.pumapy.isurf", dimension=3, voxel_length=1.0e-6, import_ws=False)
Importing ...
"""
print("Importing " + filename + " ... ", end='')
Expand Down
2 changes: 1 addition & 1 deletion python/pumapy/io/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def export_sparta_implicit_surfaces(filename, ws):
>>> import pumapy as puma
>>> ws = puma.import_bin(puma.path_to_example_file("fibers_with_orientation.pumapy"))
Importing ...
>>> puma.experimental.export_sparta_implicit_surfaces("/Users/fsemerar/Downloads/surfaces", ws)
>>> puma.experimental.export_sparta_implicit_surfaces("surfaces", ws)
Exporting ...
"""

Expand Down

0 comments on commit c208d34

Please sign in to comment.