Skip to content

Commit

Permalink
small error
Browse files Browse the repository at this point in the history
  • Loading branch information
leoguignard committed Jul 20, 2023
1 parent 5b69da9 commit e9ef715
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sc3D/sc3D.py
Original file line number Diff line number Diff line change
Expand Up @@ -580,13 +580,13 @@ def register_cs(
cs1, cs2, rebuild=False, refine=refine, th_d=th_d
)
if timing:
current_cs_timing["build_pairing"] = time(time() - start)
current_cs_timing["build_pairing"] = time() - start
start = time()
M = self.register(
np.array(pos_ref), np.array(pos_flo), apply=False, rigid=rigid
)
if timing:
current_cs_timing["register"] = time(time() - start)
current_cs_timing["register"] = time() - start
start = time()
cells_cs2 = self.cells_from_cover_slip[cs2]
if refine:
Expand All @@ -604,7 +604,7 @@ def register_cs(
if final:
self.final.update(zip(cells_cs2, new_pos))
if timing:
current_cs_timing["apply"] = time(time() - start)
current_cs_timing["apply"] = time() - start
start = time()
return M

Expand Down

0 comments on commit e9ef715

Please sign in to comment.