diff --git a/harp.py b/harp.py index 45df362..8c02bb7 100644 --- a/harp.py +++ b/harp.py @@ -85,7 +85,7 @@ def __init__(self, app): self.ui = Ui_MainWindow() self.ui.setupUi(self) self.app = app - self.HARP_VERSION = '2.0.5' + self.HARP_VERSION = '2.0.7' # Store app-specific data such as last directory browsed self.app_data = AppData() diff --git a/harp.py~ b/harp.py~ index b347dac..45df362 100644 --- a/harp.py~ +++ b/harp.py~ @@ -85,7 +85,7 @@ class MainWindow(QtGui.QMainWindow): self.ui = Ui_MainWindow() self.ui.setupUi(self) self.app = app - self.HARP_VERSION = '2.0.3' + self.HARP_VERSION = '2.0.5' # Store app-specific data such as last directory browsed self.app_data = AppData() diff --git a/imgprocessing/zproject.py b/imgprocessing/zproject.py index 63848a4..5ce3e22 100644 --- a/imgprocessing/zproject.py +++ b/imgprocessing/zproject.py @@ -77,6 +77,7 @@ def run_onthisthread(self): print "performing z-projection on sparse file list" max_array = self.max_projection(sparse_filelist, imdims, dtype) + max_array = max_array.astype(np.uint8) imwriter = Imwriter(self.zprojection_output) imwriter.imwrite(max_array, self.zprojection_output)