Removed debug prints

This commit is contained in:
jupfi 2024-02-10 17:48:49 +01:00
parent aaa68e6973
commit 052800f717

View file

@ -34,7 +34,6 @@ class HDF():
else: else:
f = h5py.File(self.HDFsrc, 'r') f = h5py.File(self.HDFsrc, 'r')
print("opened file")
HDFkeys = list(f.keys()) HDFkeys = list(f.keys())
for ii, HDFkey in enumerate(HDFkeys): for ii, HDFkey in enumerate(HDFkeys):
@ -44,11 +43,9 @@ class HDF():
inddim = dsize[0] inddim = dsize[0]
self.tdy = np.zeros((int(dsize[1]/2), int(dsize[0] * len(HDFkeys))),dtype=np.complex_) self.tdy = np.zeros((int(dsize[1]/2), int(dsize[0] * len(HDFkeys))),dtype=np.complex_)
print("initialize")
# initialize the output objects # initialize the output objects
self.attrs = [dynclass() for jj in range(len(HDFkeys))] self.attrs = [dynclass() for jj in range(len(HDFkeys))]
print("get the attribute keys")
# get the attribute keys # get the attribute keys
self.parsoutp = {} self.parsoutp = {}
ii_oupargs = 0 ii_oupargs = 0
@ -62,9 +59,6 @@ class HDF():
self.parsoutp['//'+str(ii_oupargs)] = [ item[1], itemname] self.parsoutp['//'+str(ii_oupargs)] = [ item[1], itemname]
ii_oupargs+=1 ii_oupargs+=1
print("end of loop")
print("look for vars")
# look for eventual parvar lists # look for eventual parvar lists
self.parvar = {} self.parvar = {}
for item in f.attrs.items(): for item in f.attrs.items():