-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
🐛 Fix filter_to_subgraph
when passing the only
argument
#3197
Conversation
Quick links (staging server):
Login: chart-diff: ✅No charts for review.data-diff: ❌ Found differences~ Dataset garden/who/latest/monkeypox
- - title: Mpox confirmed cases and deaths
+ + title: Monkeypox
= Table monkeypox
~ Column annotation (changed metadata)
- - title: Mpox confirmed cases and deaths
+ + title: Monkeypox
- - citation_full: Mpox confirmed cases and deaths. World Health Organization; 2024.
+ + citation_full: |-
+ + Global Health Estimates 2021: Deaths by Cause, Age, Sex, by Country and by Region, 2000-2021. Geneva, World Health Organization; 2024.
- - url_main: https://frontdoor-l4uikgap6gz3m.azurefd.net/MPX/V_MPX_VALIDATED_DAILY
+ + url_main: https://extranet.who.int/publicemergency/
~ Column iso_code (changed metadata)
- - title: Mpox confirmed cases and deaths
+ + title: Monkeypox
- - citation_full: Mpox confirmed cases and deaths. World Health Organization; 2024.
+ + citation_full: |-
+ + Global Health Estimates 2021: Deaths by Cause, Age, Sex, by Country and by Region, 2000-2021. Geneva, World Health Organization; 2024.
- - url_main: https://frontdoor-l4uikgap6gz3m.azurefd.net/MPX/V_MPX_VALIDATED_DAILY
+ + url_main: https://extranet.who.int/publicemergency/
~ Column new_cases (changed metadata)
- - title: Mpox confirmed cases and deaths
+ + title: Monkeypox
- - citation_full: Mpox confirmed cases and deaths. World Health Organization; 2024.
+ + citation_full: |-
+ + Global Health Estimates 2021: Deaths by Cause, Age, Sex, by Country and by Region, 2000-2021. Geneva, World Health Organization; 2024.
- - url_main: https://frontdoor-l4uikgap6gz3m.azurefd.net/MPX/V_MPX_VALIDATED_DAILY
+ + url_main: https://extranet.who.int/publicemergency/
~ Column new_cases_per_million (changed metadata)
- - title: Mpox confirmed cases and deaths
+ + title: Monkeypox
- - citation_full: Mpox confirmed cases and deaths. World Health Organization; 2024.
+ + citation_full: |-
+ + Global Health Estimates 2021: Deaths by Cause, Age, Sex, by Country and by Region, 2000-2021. Geneva, World Health Organization; 2024.
- - url_main: https://frontdoor-l4uikgap6gz3m.azurefd.net/MPX/V_MPX_VALIDATED_DAILY
+ + url_main: https://extranet.who.int/publicemergency/
~ Column new_cases_smoothed (changed metadata)
- - title: Mpox confirmed cases and deaths
+ + title: Monkeypox
- - citation_full: Mpox confirmed cases and deaths. World Health Organization; 2024.
+ + citation_full: |-
+ + Global Health Estimates 2021: Deaths by Cause, Age, Sex, by Country and by Region, 2000-2021. Geneva, World Health Organization; 2024.
- - url_main: https://frontdoor-l4uikgap6gz3m.azurefd.net/MPX/V_MPX_VALIDATED_DAILY
+ + url_main: https://extranet.who.int/publicemergency/
~ Column new_cases_smoothed_per_million (changed metadata)
- - title: Mpox confirmed cases and deaths
+ + title: Monkeypox
- - citation_full: Mpox confirmed cases and deaths. World Health Organization; 2024.
+ + citation_full: |-
+ + Global Health Estimates 2021: Deaths by Cause, Age, Sex, by Country and by Region, 2000-2021. Geneva, World Health Organization; 2024.
- - url_main: https://frontdoor-l4uikgap6gz3m.azurefd.net/MPX/V_MPX_VALIDATED_DAILY
+ + url_main: https://extranet.who.int/publicemergency/
~ Column new_deaths (changed metadata)
- - title: Mpox confirmed cases and deaths
+ + title: Monkeypox
- - citation_full: Mpox confirmed cases and deaths. World Health Organization; 2024.
+ + citation_full: |-
+ + Global Health Estimates 2021: Deaths by Cause, Age, Sex, by Country and by Region, 2000-2021. Geneva, World Health Organization; 2024.
- - url_main: https://frontdoor-l4uikgap6gz3m.azurefd.net/MPX/V_MPX_VALIDATED_DAILY
+ + url_main: https://extranet.who.int/publicemergency/
~ Column new_deaths_per_million (changed metadata)
- - title: Mpox confirmed cases and deaths
+ + title: Monkeypox
- - citation_full: Mpox confirmed cases and deaths. World Health Organization; 2024.
+ + citation_full: |-
+ + Global Health Estimates 2021: Deaths by Cause, Age, Sex, by Country and by Region, 2000-2021. Geneva, World Health Organization; 2024.
- - url_main: https://frontdoor-l4uikgap6gz3m.azurefd.net/MPX/V_MPX_VALIDATED_DAILY
+ + url_main: https://extranet.who.int/publicemergency/
~ Column new_deaths_smoothed (changed metadata)
- - title: Mpox confirmed cases and deaths
+ + title: Monkeypox
- - citation_full: Mpox confirmed cases and deaths. World Health Organization; 2024.
+ + citation_full: |-
+ + Global Health Estimates 2021: Deaths by Cause, Age, Sex, by Country and by Region, 2000-2021. Geneva, World Health Organization; 2024.
- - url_main: https://frontdoor-l4uikgap6gz3m.azurefd.net/MPX/V_MPX_VALIDATED_DAILY
+ + url_main: https://extranet.who.int/publicemergency/
~ Column new_deaths_smoothed_per_million (changed metadata)
- - title: Mpox confirmed cases and deaths
+ + title: Monkeypox
- - citation_full: Mpox confirmed cases and deaths. World Health Organization; 2024.
+ + citation_full: |-
+ + Global Health Estimates 2021: Deaths by Cause, Age, Sex, by Country and by Region, 2000-2021. Geneva, World Health Organization; 2024.
- - url_main: https://frontdoor-l4uikgap6gz3m.azurefd.net/MPX/V_MPX_VALIDATED_DAILY
+ + url_main: https://extranet.who.int/publicemergency/
~ Column total_cases (changed metadata)
- - title: Mpox confirmed cases and deaths
+ + title: Monkeypox
- - citation_full: Mpox confirmed cases and deaths. World Health Organization; 2024.
+ + citation_full: |-
+ + Global Health Estimates 2021: Deaths by Cause, Age, Sex, by Country and by Region, 2000-2021. Geneva, World Health Organization; 2024.
- - url_main: https://frontdoor-l4uikgap6gz3m.azurefd.net/MPX/V_MPX_VALIDATED_DAILY
+ + url_main: https://extranet.who.int/publicemergency/
~ Column total_cases_per_million (changed metadata)
- - title: Mpox confirmed cases and deaths
+ + title: Monkeypox
- - citation_full: Mpox confirmed cases and deaths. World Health Organization; 2024.
+ + citation_full: |-
+ + Global Health Estimates 2021: Deaths by Cause, Age, Sex, by Country and by Region, 2000-2021. Geneva, World Health Organization; 2024.
- - url_main: https://frontdoor-l4uikgap6gz3m.azurefd.net/MPX/V_MPX_VALIDATED_DAILY
+ + url_main: https://extranet.who.int/publicemergency/
~ Column total_deaths (changed metadata)
- - title: Mpox confirmed cases and deaths
+ + title: Monkeypox
- - citation_full: Mpox confirmed cases and deaths. World Health Organization; 2024.
+ + citation_full: |-
+ + Global Health Estimates 2021: Deaths by Cause, Age, Sex, by Country and by Region, 2000-2021. Geneva, World Health Organization; 2024.
- - url_main: https://frontdoor-l4uikgap6gz3m.azurefd.net/MPX/V_MPX_VALIDATED_DAILY
+ + url_main: https://extranet.who.int/publicemergency/
~ Column total_deaths_per_million (changed metadata)
- - title: Mpox confirmed cases and deaths
+ + title: Monkeypox
- - citation_full: Mpox confirmed cases and deaths. World Health Organization; 2024.
+ + citation_full: |-
+ + Global Health Estimates 2021: Deaths by Cause, Age, Sex, by Country and by Region, 2000-2021. Geneva, World Health Organization; 2024.
- - url_main: https://frontdoor-l4uikgap6gz3m.azurefd.net/MPX/V_MPX_VALIDATED_DAILY
+ + url_main: https://extranet.who.int/publicemergency/
Legend: +New ~Modified -Removed =Identical Details
Hint: Run this locally with etl diff REMOTE data/ --include yourdataset --verbose --snippet Automatically updated datasets matching weekly_wildfires|excess_mortality|covid|fluid|flunet|country_profile|garden/ihme_gbd/2019/gbd_risk are not included Edited: 2024-08-27 07:36:56 UTC |
It actually works correctly. It runs all steps that re.findall-match strings from To only get the matching steps, you have to add
works as expected. |
Thanks @Marigold! I have added an |
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.
Isn't is easier to add $
than to use --exact_match
? I'd personally never use it since I always type just a part of the step and almost always get what I want, but if you find it useful, feel free to merge it.
Using |
* Fix filter_to_subgraph when passing the 'only' argument * Add exact_match as an argument
I noticed that
to_dependency_order(dag=dag, includes=STEPS, only=True)
was returning a list of steps that was larger than STEPS. But if I understand correctly,only
should avoid that, right?This PR may fix it (but I'm not sure if that behaviour was as expected, and I'm misinterpreting the meaning of
only
).As an example:
as far as I understand, should return
['data://garden/war/2023-09-21/ucdp', 'data://grapher/war/2023-09-21/ucdp']
, but instead it was returning['data://garden/war/2023-09-21/ucdp', 'data://grapher/war/2023-09-21/ucdp', 'data://garden/war/2023-09-21/ucdp_prio']
.(this issue affected @lucasrodes while using StepUpdater)