Skip to content

Commit ff4f540

Browse files
committed
removing commented print stmts
1 parent 2a70463 commit ff4f540

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

lib/bald/__init__.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,6 @@ def __getitem__(self, item):
240240

241241
def check_uri(self, uri):
242242
result = False
243-
#print("Checking uri: " + uri)
244243
if self[uri].status_code == 200:
245244
result = True
246245
return result
@@ -416,9 +415,6 @@ def rdfnode(self, graph):
416415
for attr in self.attrs:
417416
objs = self.attrs[attr]
418417
if(isinstance(objs, np.ndarray)):
419-
#print("Found np.ndarray")
420-
#print(objs)
421-
#print(attr)
422418
#try to convert np.ndarray to a list
423419
objs = objs.tolist()
424420
if not (isinstance(objs, set) or isinstance(objs, list)):
@@ -575,8 +571,6 @@ def load_netcdf(afilepath, uri=None, baseuri=None):
575571
if 'rdf__' not in prefixes:
576572
prefixes['rdf__'] = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
577573

578-
#print(prefixes)
579-
580574
alias_var_name = None
581575
if hasattr(fhandle, 'bald__isAliasedBy'):
582576
alias_var_name = fhandle.bald__isAliasedBy
@@ -603,9 +597,7 @@ def load_netcdf(afilepath, uri=None, baseuri=None):
603597
root_container.attrs['bald__contains'] = []
604598
file_variables = {}
605599
for name in fhandle.variables:
606-
#print(name)
607600
if name == prefix_var_name or name == alias_var_name:
608-
#print("Skipping " + name)
609601
continue
610602

611603
sattrs = fhandle.variables[name].__dict__.copy()
@@ -634,7 +626,6 @@ def load_netcdf(afilepath, uri=None, baseuri=None):
634626
# cycle again and find references
635627
for name in fhandle.variables:
636628
if name == prefix_var_name or name == alias_var_name:
637-
#print("Skipping " + name)
638629
continue
639630

640631
var = file_variables[name]

0 commit comments

Comments
 (0)