Skip to content

Commit

Permalink
Fix missing imports from maths.vectorops.
Browse files Browse the repository at this point in the history
  • Loading branch information
hsorby committed Jul 23, 2024
1 parent 630a31b commit e5bec4c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/scaffoldmaker/meshtypes/meshtype_3d_colonsegment1.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import copy
import math

from cmlibs.maths.vectorops import normalize, set_magnitude, magnitude, dot
from cmlibs.maths.vectorops import normalize, set_magnitude, magnitude, dot, cross
from cmlibs.utils.zinc.field import findOrCreateFieldCoordinates
from cmlibs.zinc.element import Element
from cmlibs.zinc.field import Field
Expand Down
1 change: 1 addition & 0 deletions src/scaffoldmaker/meshtypes/meshtype_3d_esophagus1.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import copy
import math

from cmlibs.maths.vectorops import magnitude, normalize
from cmlibs.utils.zinc.field import findOrCreateFieldGroup, findOrCreateFieldStoredString, \
findOrCreateFieldStoredMeshLocation
from cmlibs.zinc.element import Element
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import math

from cmlibs.maths.vectorops import eulerToRotationMatrix3
from cmlibs.maths.vectorops import eulerToRotationMatrix3, magnitude
from cmlibs.utils.zinc.field import findOrCreateFieldCoordinates
from cmlibs.utils.zinc.general import ChangeManager
from cmlibs.zinc.element import Element
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import math

from cmlibs.maths.vectorops import magnitude, normalize, cross, set_magnitude
from cmlibs.utils.zinc.field import findOrCreateFieldCoordinates
from cmlibs.zinc.element import Element, Elementbasis
from cmlibs.zinc.field import Field
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

import math

from cmlibs.maths.vectorops import magnitude, normalize, cross
from cmlibs.utils.zinc.field import findOrCreateFieldCoordinates
from cmlibs.zinc.element import Element, Elementbasis
from cmlibs.zinc.field import Field
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import math

from cmlibs.maths.vectorops import normalize, cross, magnitude
from cmlibs.utils.zinc.field import findOrCreateFieldCoordinates
from cmlibs.utils.zinc.finiteelement import getMaximumElementIdentifier, getMaximumNodeIdentifier
from cmlibs.zinc.element import Element
Expand Down

0 comments on commit e5bec4c

Please sign in to comment.