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

PR: Fix PyHELP crashing when a cell has 0 valid layer but is flagged to be run in HELP. #60

Merged
merged 1 commit into from
Mar 1, 2019

Conversation

jnsebgosselin
Copy link
Member

@jnsebgosselin jnsebgosselin commented Mar 1, 2019

In the method HelpManager.get_run_cellnames, we simply filter the cells that have a nlayer=0, so that PyHELP doesn't crash when executing HelpManager.build_help_input_files

Otherwise, it makes PyHELP crash when nlayer is 0, but run is 1.
@jnsebgosselin jnsebgosselin added the type: bug Something isn't working label Mar 1, 2019
@jnsebgosselin jnsebgosselin added this to the 0.1.2 milestone Mar 1, 2019
@jnsebgosselin jnsebgosselin self-assigned this Mar 1, 2019
@jnsebgosselin jnsebgosselin changed the base branch from master to 0.1.x March 1, 2019 15:22
@jnsebgosselin jnsebgosselin merged commit 2277f69 into 0.1.x Mar 1, 2019
jnsebgosselin added a commit that referenced this pull request Mar 1, 2019
@jnsebgosselin jnsebgosselin deleted the exclude_nlayer0_from_runcell branch March 1, 2019 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant