Skip to content

Commit

Permalink
Merge pull request #198 from Exabyte-io/fix/typo-2
Browse files Browse the repository at this point in the history
chore: fix typo 2
  • Loading branch information
timurbazhirov authored Jan 4, 2025
2 parents 0d81285 + 27c4a8b commit cf3662c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@
"from utils.jupyterlite import download_content_to_file\n",
"\n",
"for idx, interface in enumerate(interfaces):\n",
" download_content_to_file(interfaces, f\"interface_{idx}.json\")"
" download_content_to_file(interface, f\"interface_{idx}.json\")"
]
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,8 @@
"source": [
"from utils.jupyterlite import download_content_to_file\n",
"\n",
"download_content_to_file(interfaces, \"twisted_interfaces.json\")"
"for idx, interface in enumerate(interfaces):\n",
" download_content_to_file(interface, f\"twisted_interface_{idx}.json\")"
],
"metadata": {
"collapsed": false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,11 @@
"cell_type": "code",
"outputs": [],
"source": [
"from utils.jupyterlite import set_materials\n",
"from utils.jupyterlite import set_materials, download_content_to_file\n",
"\n",
"set_materials(nanoparticles)"
"set_materials(nanoparticles)\n",
"for idx, nanoparticle in enumerate(nanoparticles):\n",
" download_content_to_file(nanoparticle, f\"gold_nanocluster_{idx}.json\")"
],
"metadata": {
"collapsed": false
Expand Down

0 comments on commit cf3662c

Please sign in to comment.