#NEWLINE# def store_references( self , references ) : #NEWLINE# #INDENT# 'Stores references to disk and may collect garbage.' #NEWLINE# for trajectory_name in references : #NEWLINE# #INDENT# self . _storage_service . store ( pypetconstants . LIST , references [ trajectory_name ] , trajectory_name = trajectory_name ) #NEWLINE# #UNINDENT# self . _check_and_collect_garbage ( )