def retrieve_data(self): """Retrieves and saves data from a running experiment""" local = False if self.exp_config.get('mode') == 'debug': local = True filename = export(self.app_id, local=local) logger.debug('Data exported to %s' % filename) return Data(filename)
def retrieve_data(self): """Retrieves and saves data from a running experiment""" import dallinger as dlgr filename = dlgr.command_line.export_data(self.app_id) logger.debug('Data exported to %s' % filename) return Data(filename)