Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds default to input_configfile param #535

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

jlashner
Copy link
Collaborator

Adds default to input_configfile so it can be run from ocs-web

Description

Adds default to input_configfile so it can be run from ocs-web

Motivation and Context

so it can be run from ocs-web w/out providing a path

How Has This Been Tested?

not been tested yet

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

Copy link
Member

@BrianJKoopman BrianJKoopman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just needs a docs update as well.

@@ -1305,7 +1305,7 @@ def get_still_output(self, session, params=None):

return True, "Current still output is {}".format(still_output)

@ocs_agent.param('configfile', type=str)
@ocs_agent.param('configfile', type=str, default=None)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also update the method signature override in the docstring to be: input_configfile(configfile=None)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants