def collectLatticeLogs(self): directory = self.exp_path + '/ds/' command = 'mkdir ' + directory result = self.monHost.run(command) if result.ok == True: command = 'cp /tmp/data-source-* ' + directory result = self.monHost.run(command) if result.ok == True: print('Successfully imported ds logs') Experiment.collectLatticeLogs(self)