Skip to content

Commit

Permalink
OA: changed the return keys
Browse files Browse the repository at this point in the history
  • Loading branch information
ErnestaP committed Apr 24, 2024
1 parent 916e6e9 commit bb0b80f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dags/open_access/gold_open_access_mechanisms.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def join(values, **kwargs):
{"cern_individual_apcs": constants.CERN_INDIVIDUAL_APCS},
{"scoap3": constants.SCOAP3},
{"other": constants.OTHER},
{"other_collective_models": utils.other_collective_models},
{"other_collective_models": constants.OTHER_COLLECTIVE_MODELS},
],
)
unpacked_results = join(results)
Expand Down
8 changes: 4 additions & 4 deletions dags/open_access/open_access.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ def join(values, **kwargs):

results = fetch_data_task.expand(
query=[
{"closed_access": constants.CLOSED_ACCESS},
{"bronze_open_access": constants.BRONZE_ACCESS},
{"green_open_access": constants.GREEN_ACCESS},
{"gold_open_access": constants.GOLD_ACCESS},
{"closed": constants.CLOSED_ACCESS},
{"bronze": constants.BRONZE_ACCESS},
{"green": constants.GREEN_ACCESS},
{"gold": constants.GOLD_ACCESS},
],
)
unpacked_results = join(results)
Expand Down

0 comments on commit bb0b80f

Please sign in to comment.