Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PyNutil
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Harry Carey
PyNutil
Commits
f3872066
Commit
f3872066
authored
1 year ago
by
Sharon Christine Yates
Browse files
Options
Downloads
Patches
Plain Diff
Update testing files
parent
39742de7
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
test/test8_PyNutil_bigcaudoputamen.json
+9
-0
9 additions, 0 deletions
test/test8_PyNutil_bigcaudoputamen.json
test/test8_PyNutil_fixed.json
+0
-8
0 additions, 8 deletions
test/test8_PyNutil_fixed.json
testOOP.py
+3
-3
3 additions, 3 deletions
testOOP.py
with
12 additions
and
11 deletions
test/test8_PyNutil_bigcaudoputamen.json
0 → 100644
+
9
−
0
View file @
f3872066
{
"volume_path"
:
"allen2017"
,
"label_path"
:
"PyNutil/annotation_volumes/allen2017_colours.csv"
,
"segmentation_folder"
:
"PyNutil/test_data/PyTest_seg"
,
"alignment_json"
:
"PyNutil/test_data/PyNutil_testdataset_Nonlin_SY_fixed_bigcaudoputamen.json"
,
"nonlinear"
:
true
,
"colour"
:
[
0
,
0
,
0
],
"points_json_path"
:
"PyNutil/outputs/test8_PyNutil.json"
}
This diff is collapsed.
Click to expand it.
test/test8_PyNutil_fixed.json
deleted
100644 → 0
+
0
−
8
View file @
39742de7
{
"volume_path"
:
"allen2017"
,
"label_path"
:
"PyNutil/annotation_volumes/allen2017_colours.csv"
,
"segmentation_folder"
:
"PyNutil/test_data/PyTest_seg"
,
"alignment_json"
:
"PyNutil/test_data/PyNutil_testdataset_Nonlin_SY_fixed_bigcaudoputamen.json"
,
"nonlinear"
:
true
,
"colour"
:
[
0
,
0
,
0
],
"points_json_path"
:
"PyNutil/outputs/test8_PyNutil_use_flat.json"
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
testOOP.py
+
3
−
3
View file @
f3872066
from
PyNutil
import
PyNutil
pnt
=
PyNutil
(
settings_file
=
r
"
PyNutil/test/test8_PyNutil_
fixed
.json
"
)
pnt
=
PyNutil
(
settings_file
=
r
"
PyNutil/test/test8_PyNutil_
bigcaudoputamen
.json
"
)
##Use flat can be set to True if you want to use the flat file
# instead of the visualign json (this is only useful for testing and will be removed)
pnt
.
get_coordinates
(
object_cutoff
=
0
,
use_flat
=
Tru
e
)
pnt
.
get_coordinates
(
object_cutoff
=
0
,
use_flat
=
Fals
e
)
pnt
.
quantify_coordinates
()
pnt
.
save_analysis
(
"
PyNutil/outputs/test8_PyNutil_bigcaudoputamen_n
ewatlasmaps
"
)
pnt
.
save_analysis
(
"
PyNutil/outputs/test8_PyNutil_bigcaudoputamen_n
oflat
"
)
# remove name, r, g, b, from pixel_
# add to region_areas df
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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