-
Notifications
You must be signed in to change notification settings - Fork 546
Disallow calling del_component
with ComponentData arguments
#3440
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
Open
emma58
wants to merge
13
commits into
Pyomo:main
Choose a base branch
from
emma58:fme-del-fix
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+62
−20
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
45691f7
modifying the FME post-processing objective without creating and dele…
emma58 f382c1e
Removing outdated docs from the ComponentData docstring
emma58 4dcfc65
Raising a ValueError when a ComponentData is passed to del_component
emma58 871c99d
Merge branch 'main' into fme-del-fix
emma58 bd2fed0
Removing unnecessary line in FME post-processing
emma58 cc88554
Adding a test confirming that John is right (no surprises there)
emma58 757bc6f
Merge branch 'main' into fme-del-fix
emma58 9759c88
In-lining self.component so that we can check for ComponentDatas, fix…
emma58 b083f0c
Fixing a bug where obj could be undefined (probably for deleting some…
emma58 1bebc33
Whoops, also fixing the case where the object isn't on the correct Block
emma58 f8e8c83
Fixing a use of del_component on a ComponentData in parmest
emma58 d6eb18e
Merge branch 'main' into fme-del-fix
emma58 50d24d8
Merge branch 'main' into fme-del-fix
blnicho File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a minor nit, but this is a lot of code where we might be throwing away AttributeErrors. I think I would prefer something more targeted. Maybe: