Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
aliby-mirror
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
aliby-mirror
Commits
1e5d6ffe
Commit
1e5d6ffe
authored
2 years ago
by
Alán Muñoz
Browse files
Options
Downloads
Patches
Plain Diff
fix(imageViewer): stretch_image -> stretch_clip
parent
65e39c5a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pyproject.toml
+1
-1
1 addition, 1 deletion
pyproject.toml
src/aliby/utils/imageViewer.py
+2
-2
2 additions, 2 deletions
src/aliby/utils/imageViewer.py
with
3 additions
and
3 deletions
pyproject.toml
+
1
−
1
View file @
1e5d6ffe
[tool.poetry]
name
=
"aliby"
version
=
"0.1.5
6
"
version
=
"0.1.5
7
"
description
=
"Process and analyse live-cell imaging data"
authors
=
[
"Alan Munoz <alan.munoz@ed.ac.uk>"
]
packages
=
[
...
...
This diff is collapsed.
Click to expand it.
src/aliby/utils/imageViewer.py
+
2
−
2
View file @
1e5d6ffe
...
...
@@ -30,7 +30,7 @@ from agora.io.cells import Cells
from
agora.io.writer
import
load_attributes
from
aliby.io.image
import
dispatch_image
from
aliby.tile.tiler
import
Tiler
,
TilerParameters
from
aliby.utils.plot
import
stretch_
image
from
aliby.utils.plot
import
stretch_
clip
default_colours
=
{
"
Brightfield
"
:
"
Greys_r
"
,
...
...
@@ -364,7 +364,7 @@ class remoteImageViewer(BaseImageViewer):
),
"
Invalid norm argument.
"
if
norm
and
norm
in
(
"
l1
"
,
"
l2
"
,
"
max
"
):
images
=
{
k
:
stretch_
image
(
v
)
for
k
,
v
in
images
.
items
()}
images
=
{
k
:
stretch_
clip
(
v
)
for
k
,
v
in
images
.
items
()}
images
=
[
concat_pad
(
img
,
width
,
nrows
)
for
img
in
images
.
values
()]
# TODO convert to RGB to draw fluorescence with colour
...
...
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