Skip to content

Commit

Permalink
Fix usage of adapt_object_mesh
Browse files Browse the repository at this point in the history
  • Loading branch information
jennydaman committed Dec 30, 2022
1 parent 60f8a50 commit b8cb9f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions civet/obj.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ def command(output):
return 'surface_mask2', in_volume, self, output
return in_volume.create_command(command)

def adapt_object_mesh(self, n_iterations: int, n_adapt: int, n_adapt_smooth: int) -> _S:
def adapt_object_mesh(self, target_points: int, n_iterations: int, n_adapt: int, n_adapt_smooth: int) -> _S:
def command(output):
return 'adapt_object_mesh', self, output, str(n_iterations), str(n_adapt), str(n_adapt_smooth)
return 'adapt_object_mesh', self, output, \
str(target_points), str(n_iterations), str(n_adapt), str(n_adapt_smooth)
return self.create_command(command)


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

setup(
name='pycivet',
version='0.0.11',
version='0.1.0',
description='Object-oriented CIVET bindings for Python',
long_description=readme,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit b8cb9f1

Please sign in to comment.