Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
alibylite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Swain Lab
aliby
alibylite
Commits
90f5e97d
Commit
90f5e97d
authored
5 years ago
by
dadjavon
Browse files
Options
Downloads
Patches
Plain Diff
remove machine-specific paths
parent
e7032c96
No related branches found
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.gitignore
+2
-1
2 additions, 1 deletion
.gitignore
MANIFEST.in
+1
-0
1 addition, 0 deletions
MANIFEST.in
core/segment.py
+3
-2
3 additions, 2 deletions
core/segment.py
setup.py
+1
-0
1 addition, 0 deletions
setup.py
test/test_local_expt.py
+3
-2
3 additions, 2 deletions
test/test_local_expt.py
with
10 additions
and
5 deletions
.gitignore
+
2
−
1
View file @
90f5e97d
...
@@ -109,5 +109,6 @@ venv.bak/
...
@@ -109,5 +109,6 @@ venv.bak/
.idea/
.idea/
omero_py/omeroweb/
omero_py/omeroweb/
omero_py/pipeline/
omero_py/pipeline/
*.ipynb
*
*.ipynb
data/
data/
notebooks/
This diff is collapsed.
Click to expand it.
MANIFEST.in
0 → 100644
+
1
−
0
View file @
90f5e97d
include core/trap_templates/*.npy
\ No newline at end of file
This diff is collapsed.
Click to expand it.
core/segment.py
+
3
−
2
View file @
90f5e97d
...
@@ -4,11 +4,12 @@ cell segmentation, nucleus segmentation."""
...
@@ -4,11 +4,12 @@ cell segmentation, nucleus segmentation."""
from
skimage
import
feature
from
skimage
import
feature
import
numpy
as
np
import
numpy
as
np
from
scipy.spatial
import
distance
from
scipy.spatial
import
distance
from
pathlib
import
Path
from
core.traps
import
identify_trap_locations
from
core.traps
import
identify_trap_locations
trap_template
=
np
.
load
(
'
/Users/s1893247/PhD/pipeline-core/core/
trap_templates
'
trap_template
_directory
=
Path
(
__file__
).
parent
/
'
trap_templates
'
'
/
trap_bg_1.npy
'
)
trap_template
=
np
.
load
(
trap_template_directory
/
'
trap_bg_1.npy
'
)
def
align_timelapse_images
(
raw_data
,
channel
=
0
,
reference_reset_time
=
80
,
def
align_timelapse_images
(
raw_data
,
channel
=
0
,
reference_reset_time
=
80
,
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
0
View file @
90f5e97d
...
@@ -10,6 +10,7 @@ setup(
...
@@ -10,6 +10,7 @@ setup(
author_email
=
'
diane.adjavon@ed.ac.uk
'
,
author_email
=
'
diane.adjavon@ed.ac.uk
'
,
description
=
'
Core utilities for microscopy pipeline
'
,
description
=
'
Core utilities for microscopy pipeline
'
,
python_requires
=
'
>=3.6
'
,
python_requires
=
'
>=3.6
'
,
include_package_data
=
True
,
install_requires
=
[
install_requires
=
[
'
numpy
'
,
'
numpy
'
,
'
pandas
'
,
'
pandas
'
,
...
...
This diff is collapsed.
Click to expand it.
test/test_local_expt.py
+
3
−
2
View file @
90f5e97d
import
logging
import
logging
from
logging.handlers
import
RotatingFileHandler
from
logging.handlers
import
RotatingFileHandler
import
unittest
import
unittest
from
pathlib
import
Path
from
core.experiment
import
Experiment
from
core.experiment
import
Experiment
...
@@ -27,8 +28,8 @@ logger.addHandler(file_handler)
...
@@ -27,8 +28,8 @@ logger.addHandler(file_handler)
logger
.
debug
(
'
Set up the loggers as test.
'
)
logger
.
debug
(
'
Set up the loggers as test.
'
)
data_directory
=
Path
(
__file__
).
parent
.
parent
/
'
data/
'
root_directory
=
'
/Users/s1893247/PhD/pipeline-core/data/
glclvl_0.1_mig1_msn2_maf1_sfp1_dot6_03
'
root_directory
=
data_directory
/
'
glclvl_0.1_mig1_msn2_maf1_sfp1_dot6_03
'
class
TestCase
(
unittest
.
TestCase
):
class
TestCase
(
unittest
.
TestCase
):
def
setUp
(
self
):
def
setUp
(
self
):
...
...
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