Skip to content

Commit

Permalink
Remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
sophietheis committed Feb 28, 2023
1 parent b0d3723 commit b226c31
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 10 deletions.
2 changes: 0 additions & 2 deletions tests/core/test_lateralsheet.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import numpy as np
import pytest
from numpy.testing import assert_almost_equal

from tyssue import PlanarGeometry
Expand Down
2 changes: 1 addition & 1 deletion tests/io/test_meshes.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def test_to_mesh():
mesh = meshes.to_mesh(sheet)
assert sheet.Nv == mesh.points.shape[0]
assert sheet.Nf == mesh.cells[1].data.shape[0]


def test_save_import_triangular_mesh():
sheet = Sheet("test", *three_faces_sheet())
Expand Down
5 changes: 0 additions & 5 deletions tyssue/core/lateralsheet.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
import warnings

import numpy as np
import pandas as pd

from .objects import get_prev_edges
from .sheet import Sheet

Expand Down
1 change: 0 additions & 1 deletion tyssue/geometry/planar_geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

from .base_geometry import BaseGeometry
from skimage.draw import polygon
from scipy import ndimage


class PlanarGeometry(BaseGeometry):
Expand Down
2 changes: 1 addition & 1 deletion tyssue/io/meshes.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def to_mesh(sheet):
max_nsides = sheet.face_df["num_sides"].max() + 1
cell_types.update(
{
i: f"polygon" for i in range(5, max_nsides)
i: f'{"polygon"}' for i in range(5, max_nsides)
}
)
sheet.reset_index(order=True)
Expand Down

0 comments on commit b226c31

Please sign in to comment.