Skip to content

Commit

Permalink
Fix(suite2p_loader): Return nan array if "VCorr" not in suite2p output
Browse files Browse the repository at this point in the history
  • Loading branch information
kushalbakshi committed May 23, 2024
1 parent 95a51d1 commit 385cef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion element_interface/suite2p_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def max_proj_image(self):

@property
def correlation_map(self):
return self.ops["Vcorr"]
return self.ops.get("VCorr", np.full_like(self.mean_image, np.nan))

@property
def alignment_channel(self):
Expand Down

0 comments on commit 385cef1

Please sign in to comment.