Skip to content
Snippets Groups Projects
Unverified Commit e14aaf7b authored by Andrey Aristov's avatar Andrey Aristov
Browse files

flip J15

parent 636c3fa4
No related branches found
No related tags found
No related merge requests found
Pipeline #123256 passed
...@@ -12,13 +12,13 @@ logger = logging.getLogger(__name__) ...@@ -12,13 +12,13 @@ logger = logging.getLogger(__name__)
path = "/home/aaristov/Multicell/Sebastien/mESC_aggregates/SUMO/SOX1-T_Movie/{well}/POINT 00001/aligned.tif" path = "/home/aaristov/Multicell/Sebastien/mESC_aggregates/SUMO/SOX1-T_Movie/{well}/POINT 00001/aligned.tif"
coords = { coords = {
"H10": [34, 35, 36, 37, 38, 39, 40], # "H10": [34, 35, 36, 37, 38, 39, 40],
"I12": [15, 18, 20], # "I12": [15, 18, 20],
"J08": [37], # "J08": [37],
"J12": [27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40], # "J12": [27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40],
"J15": range(13, 40), "J15": [1,2,3,4,34,35,36,37,38],
"L13": [14, 17, 36, 37, 38, 39, 40], # "L13": [14, 17, 36, 37, 38, 39, 40],
"N06": [17], # "N06": [17],
} }
def flip_gfp_rfp_values(csv_file_path, frames_to_flip): def flip_gfp_rfp_values(csv_file_path, frames_to_flip):
...@@ -54,7 +54,7 @@ def flip_frames(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') new_file_path = file_path.replace('aligned.tif', 'realigned.tif')
assert new_file_path != file_path 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: try:
assert not os.path.exists(new_file_path) assert not os.path.exists(new_file_path)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment