Skip to content

Commit

Permalink
modified wrong comment in tutorial and output section (deepchem#4140)
Browse files Browse the repository at this point in the history
  • Loading branch information
TRY-ER authored Oct 15, 2024
1 parent 055ce0b commit d826c66
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -714,20 +714,20 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Polymer Rule String for Block without Self Edges >> <1-2:0.50:0.50<3-4:0.50:0.50<1-3:0.33:0.33<1-4:0.33:0.33<2-3:0.33:0.33<2-4:0.33:0.33\n"
"Polymer Rule String for Random without Self Edges >> <1-2:0.50:0.50<3-4:0.50:0.50<1-3:0.33:0.33<1-4:0.33:0.33<2-3:0.33:0.33<2-4:0.33:0.33\n"
]
}
],
"source": [
"# for block copolymer without self edges\n",
"# for random copolymer without self edges\n",
"random_edge_content_wo_self_edge = [(1, 2, 1/2, 1/2), # within A\n",
" (3, 4, 1/2, 1/2), # within B\n",
" (1, 3, 1/3, 1/3), # between A and B\n",
" (1, 4, 1/3, 1/3),\n",
" (2, 3, 1/3, 1/3),\n",
" (2, 4, 1/3, 1/3)]\n",
"random_edges_wo_self_edge_string = \"\".join([f\"<{e[0]}-{e[1]}:{e[2]:.2f}:{e[3]:.2f}\" for e in random_edge_content_wo_self_edge])\n",
"print(\"Polymer Rule String for Block without Self Edges >>\", random_edges_wo_self_edge_string)"
"print(\"Polymer Rule String for Random without Self Edges >>\", random_edges_wo_self_edge_string)"
]
},
{
Expand Down

0 comments on commit d826c66

Please sign in to comment.