Skip to content

Commit

Permalink
prevents phone_number from being added as a tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
m-goggins committed Dec 6, 2023
1 parent 7b04dc0 commit 9d56495
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions scripts/Synapse/convertParquetMPI.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -165,19 +165,17 @@
" }\n",
" identifiers.append(ssn)\n",
" elif col == \"home_phone\":\n",
" home_phone = (\n",
" {\n",
" home_phone = {\n",
" \"system\": \"phone\",\n",
" \"value\": value,\n",
" \"use\": \"home\",\n",
" },\n",
" )\n",
" }\n",
" telecom.append(home_phone)\n",
" elif col == \"cell_phone\":\n",
" cell_phone = {\n",
" \"system\": \"phone\",\n",
" \"value\": value,\n",
" \"use\": \"cell\",\n",
" \"use\": \"mobile\",\n",
" }\n",
" telecom.append(cell_phone)\n",
"\n",
Expand Down

0 comments on commit 9d56495

Please sign in to comment.