Module Import alias If CompareNotIn Str AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Import alias ImportFrom alias alias alias alias alias alias alias alias alias alias alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num For NameStore SubscriptLoad NameLoad Slice Num body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad NameLoad Str NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list If CompareEq NameLoad Str body If CompareLt Call NameLoad AttributeLoad NameLoad attr Num body Print BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr Num Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Slice Num
N/A N/A sys N/A N/A ../vistrails N/A sys path N/A N/A N/A N/A N/A sys path append ../vistrails N/A vistrails.db.services.vistrail vistrails.db.domain DBModule DBConnection DBPort DBFunction DBParameter DBLocation DBPortSpec DBTag DBAnnotation DBVistrail DBAction vistrails.db.services io main N/A N/A out_fname in_fnames N/A N/A N/A main(out_fname: str, in_fnames: list<str>) -> None
    Combines all vistrails specified in in_fnames into a single vistrail
    by renumbering their ids

     N/A N/A save_bundle vt_save_dir N/A N/A io open_bundle_from_zip_xml N/A DBVistrail vtType N/A in_fnames N/A 0 N/A in_fname N/A in_fnames N/A 1 N/A N/A N/A new_save_bundle new_save_dir N/A N/A io open_bundle_from_zip_xml N/A DBVistrail vtType in_fname N/A N/A N/A N/A N/A N/A vistrails db services vistrail merge save_bundle new_save_bundle True vt_save_dir new_save_dir N/A N/A N/A io save_bundle_to_zip_xml save_bundle out_fname N/A N/A N/A __name__ __main__ N/A N/A N/A N/A len N/A sys argv 3 N/A N/A N/A Usage: %s [output filename] [list of input vistrails] N/A N/A sys argv N/A 0 N/A N/A N/A sys exit 0 N/A N/A main N/A N/A sys argv N/A 1 N/A N/A sys argv N/A 2