Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nd2shrink
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
Andrey ARISTOV
nd2shrink
Commits
e14aaf7b
Unverified
Commit
e14aaf7b
authored
1 year ago
by
Andrey Aristov
Browse files
Options
Downloads
Patches
Plain Diff
flip J15
parent
636c3fa4
No related branches found
No related tags found
No related merge requests found
Pipeline
#123256
passed
1 year ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
flip_timelapse_SUMO.py
+8
-8
8 additions, 8 deletions
flip_timelapse_SUMO.py
with
8 additions
and
8 deletions
flip_timelapse_SUMO.py
+
8
−
8
View file @
e14aaf7b
...
...
@@ -12,13 +12,13 @@ logger = logging.getLogger(__name__)
path
=
"
/home/aaristov/Multicell/Sebastien/mESC_aggregates/SUMO/SOX1-T_Movie/{well}/POINT 00001/aligned.tif
"
coords
=
{
"
H10
"
:
[
34
,
35
,
36
,
37
,
38
,
39
,
40
],
"
I12
"
:
[
15
,
18
,
20
],
"
J08
"
:
[
37
],
"
J12
"
:
[
27
,
28
,
29
,
30
,
31
,
32
,
33
,
34
,
35
,
36
,
37
,
38
,
39
,
40
],
"
J15
"
:
range
(
13
,
40
)
,
"
L13
"
:
[
14
,
17
,
36
,
37
,
38
,
39
,
40
],
"
N06
"
:
[
17
],
#
"H10": [34, 35, 36, 37, 38, 39, 40],
#
"I12": [15, 18, 20],
#
"J08": [37],
#
"J12": [27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40],
"
J15
"
:
[
1
,
2
,
3
,
4
,
34
,
35
,
36
,
37
,
38
]
,
#
"L13": [14, 17, 36, 37, 38, 39, 40],
#
"N06": [17],
}
def
flip_gfp_rfp_values
(
csv_file_path
,
frames_to_flip
):
...
...
@@ -54,7 +54,7 @@ def flip_frames(file_path, frames_to_flip):
new_file_path
=
file_path
.
replace
(
'
aligned.tif
'
,
'
realigned.tif
'
)
assert
new_file_path
!=
file_path
flip_gfp_rfp_values
(
file_path
.
replace
(
"
aligned.tif
"
,
"
peaks.csv
"
),
frames_to_flip
)
#
flip_gfp_rfp_values(file_path.replace("aligned.tif", "peaks.csv"), frames_to_flip)
try
:
assert
not
os
.
path
.
exists
(
new_file_path
)
...
...
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