Skip to content

Commit

Permalink
pr oneat
Browse files Browse the repository at this point in the history
  • Loading branch information
kapoorlab committed Jun 29, 2024
1 parent b8de0d1 commit 51443ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/oneat/NEATUtils/HolovizNapari.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def showNapari(self):
self.oneat_widget = OneatWidget(
self.viewer,
self.csvdir,
"Name",

self.key_categories,
segimagedir=self.segimagedir,
heatimagedir=self.heatmapimagedir,
Expand Down Expand Up @@ -345,8 +345,8 @@ def headlesscall(
confidence_locations = []
event_locations_dict = {}
event_locations_size_dict = {}
savename = Path(csvname).stem
savename = 'non_maximal_' + savename
savename = 'non_maximal_' + Path(csvname).stem
savename = os.path.join(csvdir, savename)
print(savename)
dataset = pd.read_csv(csvname, delimiter=",")
# Data is written as T, Y, X, Score, Size, Confidence
Expand Down Expand Up @@ -491,8 +491,8 @@ def headlessvolumecall(
confidence_locations = []
event_locations_dict = {}
event_locations_size_dict = {}
savename = Path(csvname).stem
savename = 'non_maximal_' + savename
savename = 'non_maximal_' + Path(csvname).stem
savename = os.path.join(csvdir, savename)
print(f'performing non maximal supression on {csvname}')
dataset = pd.read_csv(csvname, delimiter=",")
# Data is written as T, Y, X, Score, Size, Confidence
Expand Down
1 change: 0 additions & 1 deletion src/oneat/NEATUtils/oneat_animation/_qt/oneat_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ def __init__(
self,
viewer: "napari.viewer.Viewer",
csvdir: str,
savename: str,
key_categories: dict,
segimagedir: str = None,
heatimagedir: str = None,
Expand Down

0 comments on commit 51443ed

Please sign in to comment.