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

Don't catch ParameterValueError after persisting values in database #18017

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

Conversation

mvdbeek
Copy link
Member

@mvdbeek mvdbeek commented Apr 18, 2024

params_from_strings is called from within the compute environment, where we generate the command line, which is after we've persisted job parameters:

incoming = self.tool.params_from_strings(incoming, self.app)

This is too late to decide to skip or null parameter values. Luckily it seems this isn't needed (anymore ?) as all tests are passing.

How to test the changes?

(Select all options that apply)

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.
  • Instructions for manual testing are as follows:
    1. [add testing steps and prerequisites here if you didn't write automated tests covering all your changes]

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

@github-actions github-actions bot added this to the 24.1 milestone Apr 18, 2024
@mvdbeek mvdbeek changed the title Drop guard ... this shouldn't break or else we need to rethink this Don't catch ParameterValueError after persisting values in database Apr 18, 2024
@nsoranzo

This comment was marked as resolved.

@mvdbeek mvdbeek force-pushed the does_this_break branch 2 times, most recently from 0ab17c2 to 9b63878 Compare April 18, 2024 15:13
@mvdbeek mvdbeek removed this from the 24.1 milestone May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants