fixed bug when passing dict to AnalyzeRun
This commit is contained in:
parent
9df711a3de
commit
389d8b18a6
|
@ -254,6 +254,7 @@ class AnalyzeRun(object):
|
||||||
alignment.saveAlignment(fname,self.initAlign,self.roi1,self.roi2)
|
alignment.saveAlignment(fname,self.initAlign,self.roi1,self.roi2)
|
||||||
|
|
||||||
def loadTransform(self,fname="auto"):
|
def loadTransform(self,fname="auto"):
|
||||||
|
if isinstance(fname,dict): raise FileNotFoundError
|
||||||
if fname == "auto":
|
if fname == "auto":
|
||||||
fname = g_folder_init+"/run%04d_transform.npy" % self.run
|
fname = g_folder_init+"/run%04d_transform.npy" % self.run
|
||||||
elif isinstance(fname,int):
|
elif isinstance(fname,int):
|
||||||
|
|
Loading…
Reference in New Issue