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

Issue with study_type = "study", looking for replaced_mode in the df #156

Open
iantei opened this issue Sep 26, 2024 · 0 comments
Open

Issue with study_type = "study", looking for replaced_mode in the df #156

iantei opened this issue Sep 26, 2024 · 0 comments

Comments

@iantei
Copy link
Contributor

iantei commented Sep 26, 2024

Encountered an issue with study_type = "study".

The issue is happening because in expand_inferredlabels(labeled_inferred_ct) in scaffolding.py,
we are filtering out with the conditional check as
expanded_labeled_inferred_ct = expanded_labeled_inferred_ct[(expanded_labeled_inferred_ct['mode_confirm'] != 'uncertain') & (expanded_labeled_inferred_ct['purpose_confirm'] != 'uncertain') & (expanded_labeled_inferred_ct['replaced_mode'] != 'uncertain')]

However, the "study" does not have replaced_mode. Resulting in the issue.

Encountered the issue while testing for CO2 emission, this issue has been handled in #152 ea3cd89 by only using mode_confirm as the filter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant