Created
May 31, 2016 14:18
-
-
Save aq1/6d5d62ec14f2530aa4d2d2da5069ecb4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
types = { | |
3: c1, | |
5: c2, | |
7: c3, | |
9: c4, | |
14: c5, | |
} | |
for f in features: | |
type_ = types.get(f['type']) | |
if type_: | |
data.append(f["name"][:f["name"].index(" (")]) | |
type_ += 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment