Created
May 20, 2015 16:13
-
-
Save dosumis/157c483f7d59eb5b882d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
j = open("flycircuit_plus.json", "r") | |
jj = json.loads(j.read()) | |
for k, v in jj.items(): | |
for t in v['Types']: | |
if not t['isAnonymous'] | |
out.write(k + "\t" + t['objectId'] + "\n") # k = VFB individual ID, t['objectId'] = FBbt ID of type. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment