From 0c6d289b6ebddcebb8dfe1843085a4e1f6768a3c Mon Sep 17 00:00:00 2001 From: wassname Date: Tue, 19 Jul 2016 11:57:19 +0800 Subject: [PATCH] Fixed no uid error by initing parent class --- simpegseis/SeisAcousticTime.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simpegseis/SeisAcousticTime.py b/simpegseis/SeisAcousticTime.py index 365e7d8..f1ce040 100644 --- a/simpegseis/SeisAcousticTime.py +++ b/simpegseis/SeisAcousticTime.py @@ -13,6 +13,7 @@ class AcousticSrc(Survey.BaseSrc): self.loc = loc self.rxList = rxList self.kwargs = kwargs + super(AcousticSrc, self).__init__(rxList) def RickerWavelet(self): @@ -457,4 +458,3 @@ if __name__ == '__main__': fig, ax = plt.subplots(1, 1, figsize = (5,5)) ax.imshow(np.flipud(U[0][:,icount].reshape((mesh.nCx, mesh.nCy), order = 'F').T), cmap = 'binary') plt.show() -