Skip to content

Commit

Permalink
chore: fix typos (#2641)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpaten committed Jan 26, 2025
1 parent 223c4cc commit a77d0de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions analytics/constants.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# CHANGE THESE VALUES TO GENERATE NEW REPORTS
# The start and end dates of the current month (yyyy-mm-dd)
START_DATE_CURRENT = "2024-12-01"
END_DATE_CURRENT = "2024-12-30"
END_DATE_CURRENT = "2024-12-31"
# The start and end dates of the prior months
START_DATE_PRIOR = "2024-11-01"
END_DATE_PRIOR = "2024-11-30"
Expand All @@ -12,7 +12,7 @@
SHEET_NAME = "HCA Portal"

HCA_PORTAL_ID = "361323030"
# Filter to exclud the Data Explorer
# Filter to exclude the Data Explorer
HCA_BROWSER_EXCLUDE_FILTER = {"filter": {"fieldName": "hostName", "stringFilter": {"matchType": "EXACT", "value": "data.humancellatlas.org"}}}
SECRET_NAME = "HCA_ANALYTICS_REPORTING_CLIENT_SECRET_PATH"
ANALYTICS_START = "2021-01-01"
Expand Down
4 changes: 2 additions & 2 deletions analytics/generate_sheets_report.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
" \"end_date\": END_DATE_CURRENT,\n",
"}\n",
"\n",
"anvil_portal_params = {\n",
"hca_portal_params = {\n",
" **default_params,\n",
" \"base_dimension_filter\": HCA_BROWSER_EXCLUDE_FILTER,\n",
" \"property\": HCA_PORTAL_ID,\n",
Expand All @@ -57,7 +57,7 @@
"metadata": {},
"outputs": [],
"source": [
"df_outbound = elements.get_outbound_links_change(anvil_portal_params, START_DATE_CURRENT, END_DATE_CURRENT, START_DATE_PRIOR, END_DATE_PRIOR)"
"df_outbound = elements.get_outbound_links_change(hca_portal_params, START_DATE_CURRENT, END_DATE_CURRENT, START_DATE_PRIOR, END_DATE_PRIOR)"
]
},
{
Expand Down

0 comments on commit a77d0de

Please sign in to comment.