Skip to content

Commit

Permalink
Fixing image rendering for graph tutorial (deepchem#4093)
Browse files Browse the repository at this point in the history
* fixing image rendering

* local file location not working switched to github URL

* fixing render in reviewnb

* trying to fix reviewnb render

* trying to fix reviewnb render

* testing image render

* testing render with raw url

* renaming image files to resolve potential error for rendering

* post checking in colab restoring the previous URL path
  • Loading branch information
TRY-ER authored Aug 19, 2024
1 parent 8308b67 commit 172a28e
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"\n",
"# ![monomerA](assets/polymer_images/monoA.png), ![monomerB](assets/polymer_images/monoB.png)"
"![monomerA](https://github.com/deepchem/deepchem/blob/master/examples/tutorials/assets/polymer_images/monoA.png?raw=1) ![monomerB](https://github.com/deepchem/deepchem/blob/master/examples/tutorials/assets/polymer_images/monoB.png?raw=1)"
]
},
{
Expand Down Expand Up @@ -403,7 +402,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# ![alt text](assets/polymer_images/digraph.JPG)"
"![self-edge-image](https://github.com/deepchem/deepchem/blob/master/examples/tutorials/assets/polymer_images/digraph.JPG?raw=1)"
]
},
{
Expand All @@ -429,7 +428,7 @@
"\n",
"However, the stoichiometry of the polymer can impose limitations on the weights assigned to the elements. For alternating polymers, where monomers are arranged in a pattern like \"ABABAB...\", the fraction of element A must be close to the fraction of element B. In other cases, such as block and random polymers, the fractions can vary and have different float values. ( For easier understanding you can refer to the image below ) These fractions are scientifically significant when calculating certain properties.\n",
"\n",
"# ![alt text](assets/polymer_images/1-s2.0-S0032386117300381-gr1.jpg)\n"
"![weight-image](https://github.com/deepchem/deepchem/blob/master/examples/tutorials/assets/polymer_images/1-s2.0-S0032386117300381-gr1.jpg?raw=1)\n"
]
},
{
Expand Down

0 comments on commit 172a28e

Please sign in to comment.