From 945801033b51bb0cc0ecf24687e1a608183297db Mon Sep 17 00:00:00 2001 From: mattminder <myfiles@vpn-251-030.epfl.ch> Date: Wed, 13 May 2020 11:28:50 +0200 Subject: [PATCH] typo --- disk/InteractionDisk_temp.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/disk/InteractionDisk_temp.py b/disk/InteractionDisk_temp.py index 1e6f39e..e796c18 100644 --- a/disk/InteractionDisk_temp.py +++ b/disk/InteractionDisk_temp.py @@ -249,12 +249,13 @@ class Reader: else: zeroarray = np.zeros([self.sizey, self.sizex],dtype = np.uint16) - file.create_dataset('/{}/{}'.format(self.fovlabels[currentFOV], self.tlabels[currentT]), data = zeroarray, compression = 'gzip') + file.create_dataset('/{}/{}'.format(self.fovlabels[currentFOV], self.tlabels[currentT]), + data = zeroarray, compression = 'gzip') file.close() return zeroarray - def TestTimeExist(self,currentT, currentFOV, file): + def TestTimeExist(self, currentT, currentFOV, file): """This method tests if the array which is requested by LoadMask already exists or not in the hdf file. """ @@ -481,7 +482,7 @@ class Reader: """ file = h5py.File(self.predictname, 'r+') - if not self.TestTimeExists(currentT, currentFOV): + if not self.TestTimeExist(currentT, currentFOV): im = self.LoadOneImage(currentT, currentFOV) im = skimage.exposure.equalize_adapthist(im) im = im*1.0; -- GitLab