Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
kapoorlab committed Feb 5, 2024
1 parent 7fe69e0 commit 6ddd8ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions src/oneat/NEATUtils/TrainDataMaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ class TrainDataMaker:
def __init__(
self,
source_dir,
save_dir=None,
create_2dt=False,
class_names=["Normal", "Mitosis", "Apoptosis"],
):

self.source_dir = source_dir
self.save_dir = save_dir if save_dir else source_dir
self.create_2dt = create_2dt
self.class_names = class_names
self.acceptable_formats = [".tif", ".TIFF", ".TIF", ".png"]
Expand Down Expand Up @@ -45,7 +47,7 @@ def _click_maker(self):
self.viewer,
imageidbox.currentText(),
os.path.basename(os.path.splitext(imageidbox.currentText())[0]),
self.source_dir,
self.save_dir,
save=False,
newimage=True,
create_2dt=self.create_2dt,
Expand All @@ -58,7 +60,7 @@ def _click_maker(self):
self.viewer,
imageidbox.currentText(),
os.path.basename(os.path.splitext(imageidbox.currentText())[0]),
self.source_dir,
self.save_dir,
save=True,
newimage=False,
create_2dt=self.create_2dt,
Expand Down
4 changes: 2 additions & 2 deletions src/oneat/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = version = "6.7.7"
__version_tuple__ = version_tuple = (6, 7, 7)
__version__ = version = "6.7.8"
__version_tuple__ = version_tuple = (6, 7, 8)

0 comments on commit 6ddd8ea

Please sign in to comment.