Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishavlin committed Jul 27, 2023
1 parent faafc4a commit faf57d1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/yt_napari/_model_ingestor.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,10 @@ def __init__(

def upgrade_to_3D(self):
if self.n_d == 3:
# already 3D, nothing to do
return
return # already 3D, nothing to do

Check warning on line 66 in src/yt_napari/_model_ingestor.py

View check run for this annotation

Codecov / codecov/patch

src/yt_napari/_model_ingestor.py#L66

Added line #L66 was not covered by tests

if self.n_d == 2:
new_l_r = getattr(self, "new_dim_value")
new_l_r = self.new_dim_value
axid = self.new_dim_axis
self.left_edge = _insert_to_unyt_array(self.left_edge, new_l_r, axid)
self.right_edge = _insert_to_unyt_array(self.right_edge, new_l_r, axid)
Expand Down

0 comments on commit faf57d1

Please sign in to comment.