Module Import alias Import alias Import alias identifier Import alias Import alias Import alias Import alias Import alias Import alias Expr Str FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str For NameStore NameLoad body If BoolOpOr Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str NameLoad body Continue Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num If CompareEq NameLoad Num body Continue Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Num Expr Call AttributeLoad NameLoad attr Str TupleLoad Num AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Num Assign NameStore Str Expr Call AttributeLoad NameLoad attr Str TupleLoad Num AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str TupleLoad Num keyword Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Dict Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str TupleLoad Num keyword Call AttributeLoad NameLoad attr keyword NameLoad keyword Call AttributeLoad NameLoad attr Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Print Str NameLoad Print BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Print BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A urllib2 N/A argparse N/A numpy np N/A cStringIO N/A sys N/A tempfile N/A h5py N/A re N/A csv N/A Import the axons from a VAST file into RAMON objects main N/A N/A N/A N/A N/A parser N/A N/A argparse ArgumentParser description Create annotations for kat11isoaxons N/A N/A N/A parser add_argument baseurl action store N/A N/A N/A parser add_argument token action store N/A N/A N/A parser add_argument file action store N/A result N/A N/A parser parse_args N/A fh N/A open N/A result file r N/A line fh N/A N/A N/A N/A N/A re match ^\s*% line N/A N/A re match ^\s*$ line N/A N/A N/A metadata N/A N/A line split None 24 N/A annid N/A int N/A metadata N/A 0 N/A N/A annid 0 N/A N/A N/A mstring N/A metadata N/A 24 N/A mobj N/A N/A re search [\w\s]+ mstring N/A kv_value N/A N/A mobj group 0 N/A tmpfile N/A N/A tempfile NamedTemporaryFile N/A h5fh N/A N/A h5py File N/A tmpfile name N/A idgrp N/A N/A h5fh create_group N/A str annid N/A ann_type 4 N/A N/A N/A idgrp create_dataset ANNOTATION_TYPE N/A 1 N/A np uint32 data ann_type N/A mdgrp N/A N/A idgrp create_group METADATA N/A ann_status 0 N/A ann_author N. Kasthuri N/A N/A N/A mdgrp create_dataset STATUS N/A 1 N/A np uint32 data ann_status N/A N/A N/A mdgrp create_dataset AUTHOR N/A 1 dtype N/A N/A h5py special_dtype vlen str data ann_author N/A kvpairs N/A N/A N/A kvpairs N/A sourceId N/A str annid N/A N/A kvpairs N/A sourceDescription kv_value N/A fstring N/A N/A cStringIO StringIO N/A csvw N/A N/A csv writer fstring delimiter , N/A N/A N/A csvw writerows N/A r N/A r N/A N/A kvpairs iteritems N/A N/A N/A mdgrp create_dataset KVPAIRS N/A 1 dtype N/A N/A h5py special_dtype vlen str data N/A N/A fstring getvalue N/A url N/A http://%s/emca/%s/ N/A N/A result baseurl N/A result token N/A url kvpairs N/A N/A N/A h5fh flush N/A N/A N/A tmpfile seek 0 N/A N/A N/A req N/A N/A urllib2 Request url N/A N/A tmpfile read N/A response N/A N/A urllib2 urlopen req N/A N/A N/A N/A urllib2 URLError N/A e N/A N/A Failed URL url N/A N/A Error %s e N/A N/A N/A sys exit 0 N/A the_page N/A N/A response read N/A N/A Success with id %s the_page N/A N/A N/A tmpfile close N/A N/A N/A __name__ __main__ N/A N/A N/A main