def test_output_flat(self): self.args += [ '--results', get_output_path(self.output_path), '--out', 'flat', self.get_data('yeast-gi.qr'), ] run_command(self.args)
def test_simple(self): self.args += [ '--results', get_output_path(self.output_path), self.get_data('yeast-all.qr'), ] run_command(self.args)
def test_func(self): self.args += [ '--results', get_output_path(self.output_path), self.get_data(file), ] run_command(self.args)
def test_multiple(self): self.args += [ '--results', get_output_path(self.output_path), self.get_data('yeast-gi.qr'), self.get_data('yeast-gi.qr'), ] run_command(self.args)
def test_multiple_parallel(self): self.args += [ '--results', get_output_path(self.output_path), '--threads', '2', self.get_data('yeast-gi.qr'), self.get_data('yeast-gi.qr'), ] run_command(self.args)
def test_empty(self): self.args += [ '--results', get_output_path(self.output_path), ] run_command(self.args)
def run_query(self, data_path, file, output_type): run_command(self.args + [ '--data', data_path, '--results', get_output_path(self.output_path, output_type), self.get_data(file), ])