CORPUS Work

This commit is contained in:
Fred Boniface 2023-02-11 17:40:48 +00:00
parent 50387bc6b2
commit 5b3965d50e

View File

@ -18,12 +18,8 @@ def fetch():
return zlib.decompress(response.content, 16+zlib.MAX_WBITS) return zlib.decompress(response.content, 16+zlib.MAX_WBITS)
def removeEmpty(list): def removeEmpty(list):
for item in list: for dict in list:
if item["3ALPHA"] != ' ' and item["STANOX"] != ' ': print(dict)
item.pop("UIC")
item.pop("NLCDESC16")
item.pop("NLC")
cleanList.append(item)
ORIGINAL METHOD FROM FILE: ORIGINAL METHOD FROM FILE: