Skip to content

Commit

Permalink
Reordered new arg to maintain backwards compatibility, per comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bgrayson-mips committed Apr 29, 2024
1 parent 3e01294 commit 69fb2de
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions helios/pipeViewer/scripts/alf_gen/ALFLayout.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@ def __init__(self,
spacing,
margins,
include_detail_column : bool,
content_width : int,
time_offset : int):
time_offset : int,
content_width : int):
self._num_cycles = num_cycles
self._locations = locations
self._def_color = def_color
Expand Down Expand Up @@ -648,8 +648,8 @@ def createScheduleLineGroup(self, default_color, include_detail_column, content_
spacing = self._spacing,
margins = margins,
include_detail_column = include_detail_column,
content_width = content_width,
time_offset = self._start_time)
time_offset = self._start_time,
content_width = content_width)
return self._schedule_line

def createColumnView(self, margins, content_width, default_color=[192,192,192]):
Expand All @@ -659,7 +659,7 @@ def createColumnView(self, margins, content_width, default_color=[192,192,192]):
self._column_view = self.ColumnView(locations = self._loc_strs,
spacing = self._spacing,
margins = margins,
content_width = content_width,
def_color = default_color,
time_offset=0)
time_offset=0,
content_width = content_width)
return self._column_view

0 comments on commit 69fb2de

Please sign in to comment.