Skip to content

Commit

Permalink
update (componentization): small updates
Browse files Browse the repository at this point in the history
  • Loading branch information
santanche committed Sep 28, 2024
1 parent f94d8d3 commit 9c3effa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion notebooks/componentization/w10-intake-potatos-step01.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Writing output for /home/santanche/git/component2learn/notebooks/componentization/fa07383b-d7c0-491d-8a06-88fe7b778fc6.uml to fa07383b-d7c0-491d-8a06-88fe7b778fc6.svg\n"
"Writing output for /home/santanche/git/component2learn/notebooks/componentization/16eb1d75-dcbf-4880-9cd1-c21c5679b0f2.uml to 16eb1d75-dcbf-4880-9cd1-c21c5679b0f2.svg\n"
]
},
{
Expand Down
3 changes: 2 additions & 1 deletion notebooks/componentization/w10-intake-potatos-step03.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@
" self.file_path = file_path\n",
"\n",
" def connect(self, component):\n",
" component.update(pd.read_csv(self.file_path))"
" df = pd.read_csv(self.file_path)\n",
" component.update(df)"
]
},
{
Expand Down
8 changes: 4 additions & 4 deletions notebooks/componentization/w10-intake-potatos-step04.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Writing output for /home/santanche/git/component2learn/notebooks/componentization/bf23c282-6d67-4964-a58b-601e74a1a5be.uml to bf23c282-6d67-4964-a58b-601e74a1a5be.svg\n"
"Writing output for /home/santanche/git/component2learn/notebooks/componentization/49ff6eee-9656-46ad-a766-b40b614bdcae.uml to 49ff6eee-9656-46ad-a766-b40b614bdcae.svg\n"
]
},
{
Expand Down Expand Up @@ -88,7 +88,7 @@
" self._file_path = value\n",
" self._data = pd.read_csv(self._file_path)\n",
" if self._connected is not None:\n",
" self._connected(self._data)\n",
" self._connected.update(self._data)\n",
"\n",
" def connect(self, component):\n",
" self._connected = component\n",
Expand All @@ -106,7 +106,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Writing output for /home/santanche/git/component2learn/notebooks/componentization/b13ad9d8-cdf6-4dc4-bad8-88364e8adafb.uml to b13ad9d8-cdf6-4dc4-bad8-88364e8adafb.svg\n"
"Writing output for /home/santanche/git/component2learn/notebooks/componentization/69a16a9c-f458-456f-b9b5-8ed43d2825f2.uml to 69a16a9c-f458-456f-b9b5-8ed43d2825f2.svg\n"
]
},
{
Expand Down Expand Up @@ -216,7 +216,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Writing output for /home/santanche/git/component2learn/notebooks/componentization/0bf07683-7ec2-42b1-ba3d-84299dabccc6.uml to 0bf07683-7ec2-42b1-ba3d-84299dabccc6.svg\n"
"Writing output for /home/santanche/git/component2learn/notebooks/componentization/cd6aebd5-d0b8-4eff-8b74-f79cd181ba20.uml to cd6aebd5-d0b8-4eff-8b74-f79cd181ba20.svg\n"
]
},
{
Expand Down

0 comments on commit 9c3effa

Please sign in to comment.