#NEWLINE# def _check_preload( raw , msg ) : #NEWLINE# #INDENT# 'Helper to ensure data are preloaded' #NEWLINE# if ( not raw . preload ) : #NEWLINE# #INDENT# raise RuntimeError ( ( raw + ' requires raw data to be loaded. Use preload=True (or string) in the constructor or raw.load_data().' ) )