Skip to content

Commit

Permalink
Don't show empty extra_params in configs
Browse files Browse the repository at this point in the history
  • Loading branch information
arthur-flam committed Aug 21, 2020
1 parent ab08965 commit 99f3fc3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion qaboard/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,11 @@ def forwarded_args(self):

@property
def configs(self):
return [*self.configurations, self.extra_parameters]
_extra_parameters = self.extra_parameters
if _extra_parameters:
return [*self.configurations, self.extra_parameters]
else:
return self.configurations

@property
def params(self):
Expand Down

0 comments on commit 99f3fc3

Please sign in to comment.