-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Catch use of multi-component parameters as POI with error message (
#2197) * Raise exceptions.InvalidModel for multiple component parameter of interest. This guards against modifiers like 'shapefactor', 'shapesys', and 'staterror' from being used as POIs. - Remove use of 'assert' to check the same information. * Add test to test_pdf.py to validate.
- Loading branch information
1 parent
22c1699
commit 30dc756
Showing
2 changed files
with
36 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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 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