Skip to content

Commit

Permalink
Merge pull request #1106 from liadJB/main
Browse files Browse the repository at this point in the history
Update zalign.py
  • Loading branch information
carsen-stringer authored Mar 7, 2024
2 parents 24a7f26 + 1a61fdb commit f500c1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions suite2p/registration/zalign.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,10 @@ def compute_zpos(Zreg, ops, reg_file=None):
]

reg_file = ops["reg_file"] if reg_file is None else reg_file
nbytes = os.path.getsize(ops["reg_file"])
nbytes = os.path.getsize(reg_file)
nFrames = int(nbytes / (2 * Ly * Lx))

reg_file = open(ops["reg_file"], "rb")
reg_file = open(reg_file, "rb")
refAndMasks = []
for Z in Zreg:
if ops["1Preg"]:
Expand Down

0 comments on commit f500c1a

Please sign in to comment.