Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gnomon-package-tissueimagemesh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
gnomon
gnomon-packages
gnomon-package-tissueimagemesh
Commits
86a86061
Commit
86a86061
authored
7 months ago
by
CERUTTI Guillaume
Browse files
Options
Downloads
Patches
Plain Diff
remove deprecated draco plugin + fix curvature test
parent
7db7b646
No related branches found
No related tags found
No related merge requests found
Pipeline
#1014522
failed
7 months ago
Stage: test
Stage: build
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
setup.py
+1
-1
1 addition, 1 deletion
setup.py
test/test_gnomonCellComplexFromCellImage.py
+9
-9
9 additions, 9 deletions
test/test_gnomonCellComplexFromCellImage.py
test/test_surfaceMeshCurvature.py
+2
-2
2 additions, 2 deletions
test/test_surfaceMeshCurvature.py
with
12 additions
and
12 deletions
setup.py
+
1
−
1
View file @
86a86061
...
...
@@ -38,7 +38,7 @@ setup_kwds = dict(
entry_points
=
{
'
cellComplexFromCellImage
'
:
[
'
cellReconstructionGrifone = gnomon_package_tissueimagemesh.algorithm.cellComplexFromCellImage.cellReconstructionGrifone
'
,
'
cellReconstructionDracoStem = gnomon_package_tissueimagemesh.algorithm.cellComplexFromCellImage.cellReconstructionDracoStem
'
#
'cellReconstructionDracoStem = gnomon_package_tissueimagemesh.algorithm.cellComplexFromCellImage.cellReconstructionDracoStem'
],
'
cellImageQuantification
'
:
[
'
surfaceMeshCellCurvature = gnomon_package_tissueimagemesh.algorithm.cellImageQuantification.surfaceMeshCellCurvature
'
,
...
...
This diff is collapsed.
Click to expand it.
test/test_gnomonCellComplexFromCellImage.py
+
9
−
9
View file @
86a86061
...
...
@@ -23,19 +23,19 @@ class TestGnomonCellComplexFromCellImage(unittest.TestCase):
self
.
cellImage
=
self
.
reader
.
cellImage
()
self
.
draco_stem
=
gnomon
.
core
.
cellComplexFromCellImage_pluginFactory
().
create
(
"
cellReconstruction
DracoStem
"
)
self
.
grifone
=
gnomon
.
core
.
cellComplexFromCellImage_pluginFactory
().
create
(
"
cellReconstruction
Grifone
"
)
def
tearDown
(
self
):
self
.
reader
.
this
.
disown
()
self
.
draco_stem
.
this
.
disown
()
self
.
grifone
.
this
.
disown
()
def
test_gnomonCellComplexFromCellImage_2d
(
self
):
self
.
draco_stem
.
setInput
(
self
.
cellImage
)
self
.
draco_stem
.
refreshParameters
()
self
.
draco_stem
.
setParameter
(
"
dimension
"
,
3
)
self
.
draco_stem
.
run
()
assert
self
.
draco_stem
.
output
()
is
not
None
cellcomplex
=
self
.
draco_stem
.
output
()[
0
]
assert
cellcomplex
.
elementCount
(
3
)
>
0
self
.
grifone
.
setInput
(
self
.
cellImage
)
self
.
grifone
.
refreshParameters
()
self
.
grifone
.
setParameter
(
"
dimension
"
,
2
)
self
.
grifone
.
run
()
assert
self
.
grifone
.
output
()
is
not
None
cellcomplex
=
self
.
grifone
.
output
()[
0
]
assert
cellcomplex
.
elementCount
(
2
)
>
0
# test_gnomonCellComplexFromCellImage.py ends here.
This diff is collapsed.
Click to expand it.
test/test_surfaceMeshCurvature.py
+
2
−
2
View file @
86a86061
...
...
@@ -34,8 +34,8 @@ class TestSurfaceMeshCurvature(unittest.TestCase):
self
.
curvature
.
refreshParameters
()
self
.
curvature
.
run
()
assert
self
.
curvature
.
c
ellImage
()
is
not
None
cellImage
=
self
.
curvature
.
c
ellImage
()[
0
]
assert
self
.
curvature
.
outputC
ellImage
()
is
not
None
cellImage
=
self
.
curvature
.
outputC
ellImage
()[
0
]
assert
"
mean_curvature
"
in
cellImage
.
cellPropertyNames
()
# test_gnomonCellComplexFromCellImage.py ends here.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment