Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ always reflect outputs on current metadata for a given merged article regardless
We automate article linkage using Apache Airflow. `linkage_dag.py` contains our current implementation.

* This dag is triggered from the [Semantic Scholar ETL dag](https://github.com/georgetown-cset/semantic-scholar-etl-pipeline/blob/main/s2_dag.py) which runs once a month.
* This dag triggers the [Org Fixes dag](https://github.com/georgetown-cset/org-fixes/blob/main/org_fixes_dag.py).
* This dag triggers the [affiliations dag](https://github.com/georgetown-cset/author-affiliations/blob/main/pipeline/affiliations_dag.py).

The DAG generates two tables of analytic significance:

Expand Down
8 changes: 4 additions & 4 deletions linkage_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -636,9 +636,9 @@
python_callable=clean_backups,
)
success_alert = get_post_success("Article linkage update succeeded!", dag)
trigger_org_fixes = TriggerDagRunOperator(
task_id="trigger_org_fixes",
trigger_dag_id="org_fixes",
trigger_affiliations = TriggerDagRunOperator(
task_id="trigger_affiliations",
trigger_dag_id="affiliations",
)

curr_date = datetime.now().strftime("%Y%m%d")
Expand Down Expand Up @@ -678,7 +678,7 @@
>> pop_descriptions
>> update_archive
>> success_alert
>> trigger_org_fixes
>> trigger_affiliations
)

# We don't show the "all metadata" table in the production dataset, but we do need to
Expand Down