#NEWLINE# def create_new_collection_from_tiids( cid , title , tiids , ip_address , refset_metadata ) : #NEWLINE# #INDENT# ( coll_doc , key ) = make ( cid ) #NEWLINE# if refset_metadata : #NEWLINE# #INDENT# coll_doc [ 'refset_metadata' ] = refset_metadata #NEWLINE# #UNINDENT# coll_doc [ 'ip_address' ] = ip_address #NEWLINE# coll_doc [ 'title' ] = title #NEWLINE# coll_doc [ 'alias_tiids' ] = dict ( zip ( tiids , tiids ) ) #NEWLINE# collection_obj = create_objects_from_collection_doc ( coll_doc ) #NEWLINE# return ( coll_doc , tiids )