Skip to content

Commit

Permalink
Merge pull request #11 from Carifio24/minor-updates
Browse files Browse the repository at this point in the history
Some minor updates
  • Loading branch information
Carifio24 authored Dec 24, 2023
2 parents a97cd05 + 899e59e commit 00be69b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions glue_ar/export_dialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,19 @@
<property name="text">
<string>Cancel</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="button_ok">
<property name="text">
<string>Export</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
Expand Down
2 changes: 1 addition & 1 deletion glue_ar/volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def meshes_for_volume_layer(viewer_state, layer_state, bounds,
isodata = grid.contour([isomin])

if smoothing_iterations > 0:
isodata = isodata.smooth(n_iter=smoothing_iterations)
isodata = isodata.smooth(n_iter=int(smoothing_iterations))

return {
"data": isodata,
Expand Down

0 comments on commit 00be69b

Please sign in to comment.