Skip to content

Commit

Permalink
Optimize for output group by equals 1 special case
Browse files Browse the repository at this point in the history
  • Loading branch information
gaow committed May 16, 2018
1 parent 46d4fe0 commit 6911eb2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/dsc_translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,7 @@ def get_output(self):
self.output_string += "\n{0} = ['{1}:{{}}'.format(item) for item in {0}]".\
format(output_lhs, self.step.name)
else:
# FIXME
output_group_by = 1
self.output_string += f"output: {self.step.name}_output_files, group_by = {output_group_by}"
self.output_string += f"output: {self.step.name}_output_files[_index]"

def get_step_option(self):
if not self.prepare and self.conf is not None:
Expand Down

0 comments on commit 6911eb2

Please sign in to comment.