Skip to content

Commit

Permalink
Merge pull request #110 from kushalbakshi/main
Browse files Browse the repository at this point in the history
Fix(suite2p_loader): Return nan array if "VCorr" not in suite2p output
  • Loading branch information
ttngu207 authored May 23, 2024
2 parents 95a51d1 + 385cef1 commit e1a1a86
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 e1a1a86

Please sign in to comment.