Skip to content

Commit

Permalink
Clean up extraneous comments
Browse files Browse the repository at this point in the history
  • Loading branch information
glarue committed Aug 11, 2021
1 parent d89dc10 commit e3c99c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jgi-query.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def get_file_list(xml_file, filter_categories=False):
"""
descriptors = {}
display_cats = ['filename', 'url', 'size',
'label', 'sizeInBytes', 'timestamp', 'md5'] # myth: add md5
'label', 'sizeInBytes', 'timestamp', 'md5']
found = xml_hunt(xml_file)
found = format_found(found, filter_categories)
if not list(found.values()):
Expand Down Expand Up @@ -219,7 +219,7 @@ def get_file_list(xml_file, filter_categories=False):
except KeyError:
continue
uid += 1
#print(f"descriptors={descriptors}") ##myth

return descriptors


Expand Down Expand Up @@ -379,7 +379,7 @@ def print_data(data, org_name, display=True):
"""
print("\nQUERY RESULTS FOR '{}'\n".format(org_name))
dict_to_get = {}
url_to_md5 = {} # myth
url_to_md5 = {}
for query_cat, v in sorted(iter(data.items()),
key=lambda k_v: k_v[1]["catID"]):
print_list = []
Expand Down

0 comments on commit e3c99c6

Please sign in to comment.