Skip to content

Commit 0736df6

Browse files
committed
remove debug print statements
1 parent 90479a4 commit 0736df6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

h5json/hdf5db.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ def getNumLinksToObject(self, obj):
708708

709709
def getUUIDByPath(self, path):
710710
self.initFile()
711-
self.log.info("getUUIDByPath: [[[" + path + "]")
711+
self.log.info("getUUIDByPath: [" + path + "]")
712712
if len(path) >= 6 and path[:6] == '__db__':
713713
msg = "getUUIDByPath called with invalid path: [" + path + "]"
714714
self.log.error(msg)
@@ -2146,7 +2146,7 @@ def getDatasetValuesByUuid(self, obj_uuid, slices=Ellipsis, format="json"):
21462146
raise IOError(errno.EIO, msg)
21472147
elif dt.kind == 'V' and len(dt) <= 1 and len(dt.shape) == 0:
21482148
# opaque type - skip for now
2149-
self.log.warning("unable to print opaque type values")
2149+
self.log.warning("unable to get opaque type values")
21502150
values = "????"
21512151
elif dt.kind == 'S' and six.PY3:
21522152
# For Python3 fixed string values will be returned as bytes,
@@ -2289,9 +2289,7 @@ def setDatasetValuesByUuid(self, obj_uuid, data, slices=None, format="json"):
22892289
s = slices[i]
22902290
np_shape.append( (s.stop - s.start) )
22912291
arr = np.fromstring(data, dtype=dset.dtype)
2292-
print("np_shape:", np_shape)
22932292
arr = arr.reshape(np_shape)
2294-
print("arr:", arr)
22952293

22962294
if rank == 1:
22972295
s = slices[0]

0 commit comments

Comments
 (0)