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

Revise asserts triggering false exceptions for dynamic parameters #2374

Merged
merged 4 commits into from
May 23, 2016

Conversation

guerler
Copy link
Contributor

@guerler guerler commented May 19, 2016

This PR removes some legacy assertions which trigger false sentry reports e.g. when a dependency is hidden by an alternative conditional selection. Currently, exceptions triggered by these asserts are reported but skipped to avoid interruption of the tool model building process: https://github.com/guerler/galaxy/blob/7cf7424f2bc65325b0b877de90a40775a758d191/lib/galaxy/tools/__init__.py#L1642.
In addition the PR revises some asserts in drill downs and other locations, replacing them by properly displayed ValueErrors when parameters are validated through from_json: https://github.com/galaxyproject/galaxy/blob/dev/lib/galaxy/tools/parameters/__init__.py#L113.

@guerler guerler changed the title Remove asserts triggering false exceptions for dynamic parameters Revise asserts triggering false exceptions for dynamic parameters May 19, 2016
@jmchilton jmchilton merged commit a9c94bd into galaxyproject:dev May 23, 2016
@guerler guerler deleted the fix_error_log_000 branch February 19, 2020 23:09
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.

2 participants