Refactor: Replace bare 'except:' with 'except Exception:' to fix E722#886
Merged
vvbragin merged 1 commit intosuny-downstate-medical-center:developmentfrom Feb 18, 2026
Conversation
Collaborator
|
thanks, @PratapShashwat! merged |
c9bf240
into
suny-downstate-medical-center:development
4 of 8 checks passed
Contributor
Author
|
@vvbragin Hi Valery, thank you for reviewing and merging this! I am very interested in continuing to contribute to NetPyNE for GSoC 2026. I noticed the INCF ideas list is currently undergoing revisions and NetPyNE isn't listed at the moment. Are there plans for NetPyNE to participate this year? I have a background in running ML models on supercomputing clusters and managing SLURM workflows, and I saw a previous NetPyNE project focused on ML/AI Parameter Tuning and the batch subpackage. I would love to tackle an issue in that domain or even submit a proposal for it if INCF is accepting independent ideas. Let me know if there's a better place to discuss this! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Replaced bare
except:clauses withexcept Exception:innetpyne/specs/netParams.py.Reasoning
Bare exceptions (
except:) catchSystemExitandKeyboardInterrupt, which makes it difficult to stop the program during execution.except Exception:catches all standard program errors but respects system signals (PEP8 E722).Verification
flake8to confirm E722 is resolved.