Skip to content

Commit

Permalink
fix: add missing width argument to Submission.list_jobscripts
Browse files Browse the repository at this point in the history
  • Loading branch information
aplowman committed Feb 25, 2025
1 parent c97aa5a commit 9c401da
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions hpcflow/sdk/submission/submission.py
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,9 @@ def get_process_IDs(self) -> Tuple[int]:
)

@TimeIt.decorator
def list_jobscripts(self, max_js: int = None, jobscripts: List[int] = None) -> None:
def list_jobscripts(
self, max_js: int = None, jobscripts: List[int] = None, width: int = None
) -> None:
"""Print a table listing jobscripts and associated information.
Parameters
Expand All @@ -1059,10 +1061,12 @@ def list_jobscripts(self, max_js: int = None, jobscripts: List[int] = None) -> N
Maximum jobscript index to display. This cannot be specified with `jobscripts`.
jobscripts
A list of jobscripts to display. This cannot be specified with `max_js`.
width
Width in characters of the printed table.
"""
self.workflow.list_jobscripts(
sub_idx=self.index, max_js=max_js, jobscripts=jobscripts
sub_idx=self.index, max_js=max_js, jobscripts=jobscripts, width=width
)

@TimeIt.decorator
Expand Down

0 comments on commit 9c401da

Please sign in to comment.