Skip to content

Commit

Permalink
fix: work in progress, add new notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
Jennifer Tran committed May 21, 2024
1 parent 22f374a commit dfaff7f
Show file tree
Hide file tree
Showing 2 changed files with 505 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"collection_json_file_paths = glob.glob(\"../ingestion-data/collections/*.json\")\n",
"filtered_collection_file_paths_list = [\n",
" item\n",
" for item in json_file_paths\n",
" for item in collection_json_file_paths\n",
" if all(\n",
" excluded_collections not in item\n",
" for excluded_collections in excluded_collections\n",
Expand Down Expand Up @@ -169,14 +169,8 @@
"outputs": [],
"source": [
"test_endpoint = \"https://test.openveda.cloud\"\n",
"test_client_id = \"CHANGE ME\"\n",
"test_user_pool_id = \"CHANGE ME\"\n",
"test_identity_pool_id = \"CHANGE ME\"\n",
"\n",
"mcp_prod_endpoint = \"https://openveda.cloud\"\n",
"mcp_prod_client_id = \"CHANGE ME\"\n",
"mcp_prod_user_pool_id = \"CHANGE ME\"\n",
"mcp_prod_identity_pool_id = \"CHANGE ME\"\n",
"\n",
"print(f\"TESTING MODE? {testing_mode}\")\n",
"if testing_mode:\n",
Expand Down Expand Up @@ -307,7 +301,8 @@
"outputs": [],
"source": [
"test_file_paths_and_collection_ids = [file_paths_and_collection_ids[0]]\n",
"test_discovery_item = [f\"../ingestion-data/production/discovery-items/{file_paths_and_collection_ids[0].get(\"collectionId\")}.json\"]\n",
"test_discovery_json_path = f\"../ingestion-data/production/discovery-items/{file_paths_and_collection_ids[0].get(\"collectionId\")}.json\"\n",
"test_discovery_item = [test_discovery_json_path]\n",
"\n",
"print(test_discovery_item)\n",
"print(test_file_paths_and_collection_ids)\n",
Expand Down
Loading

0 comments on commit dfaff7f

Please sign in to comment.