-
Notifications
You must be signed in to change notification settings - Fork 120
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
Refactor the "exclude" feature #755
Comments
I always end up making my own meta indicator anyway - so I agree with your
proposal to remove
…On Wed, Jun 28, 2023 at 9:59 AM Daniel Huppmann ***@***.***> wrote:
All validation methods have a flag "exclude_on_fail" feature to easily
track which scenarios fail one or several validation steps. This is
implemented via an "exclude" column in the meta indicators.
However, this approach causes some hiccups in the integration with the
ixmp database infrastructure - the "exclude" meta indicator is always added
by pyam and then has to be removed before importing to the database (or can
cause confusion by users).
My proposal: drop the "exclude" column from the "meta" dataframe and move
it to an own attribute. in addition, extend the filter() method such that
df.filter(exclude=True) continues to work as is.
Any thoughts @phackstock <https://github.com/phackstock> @gidden
<https://github.com/gidden> @byersiiasa <https://github.com/byersiiasa>?
—
Reply to this email directly, view it on GitHub
<#755>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKUAEN5JNHUDMRZSWDW2I3XNPP7LANCNFSM6AAAAAAZWUVVRI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Sure - sounds fine to me. |
This was referenced Jul 5, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
All validation methods have a flag "exclude_on_fail" feature to easily track which scenarios fail one or several validation steps. This is implemented via an "exclude" column in the meta indicators.
However, this approach causes some hiccups in the integration with the ixmp database infrastructure - the "exclude" meta indicator is always added by pyam and then has to be removed before importing to the database (or can cause confusion by users).
My proposal: drop the "exclude" column from the "meta" dataframe and move it to an own attribute. in addition, extend the
filter()
method such thatdf.filter(exclude=True)
continues to work as is.Any thoughts @phackstock @gidden @byersiiasa?
The text was updated successfully, but these errors were encountered: