From 69fb2de3b4e147ff252f98a12aecd99d4654a6e1 Mon Sep 17 00:00:00 2001 From: Brian Grayson Date: Mon, 29 Apr 2024 09:58:23 -0500 Subject: [PATCH] Reordered new arg to maintain backwards compatibility, per comment --- helios/pipeViewer/scripts/alf_gen/ALFLayout.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/helios/pipeViewer/scripts/alf_gen/ALFLayout.py b/helios/pipeViewer/scripts/alf_gen/ALFLayout.py index f982127fc1..7dc968c3ea 100644 --- a/helios/pipeViewer/scripts/alf_gen/ALFLayout.py +++ b/helios/pipeViewer/scripts/alf_gen/ALFLayout.py @@ -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 @@ -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]): @@ -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