Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
PooriaNamyar committed Apr 3, 2024
1 parent e3cdea0 commit 4e33330
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions parsers/demand_pinning_topology_sweep.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,9 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": null,
"metadata": {},
"outputs": [
{
"ename": "FileNotFoundError",
"evalue": "[Errno 2] No such file or directory: '..\\\\logs\\\\demand_pinning_sweep_topo\\\\2022_6_21_9_45_46_58\\\\small_word_graphs_DemandPinning.txt'",
"output_type": "error",
"traceback": [
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[1;31mFileNotFoundError\u001b[0m Traceback (most recent call last)",
"\u001b[1;32mc:\\Users\\Administrator\\Desktop\\Pooria\\wanrisk\\MetaOptimize\\parsers\\demand_pinning_topology_sweep.ipynb Cell 4'\u001b[0m in \u001b[0;36m<cell line: 4>\u001b[1;34m()\u001b[0m\n\u001b[0;32m <a href='vscode-notebook-cell:/c%3A/Users/Administrator/Desktop/Pooria/wanrisk/MetaOptimize/parsers/demand_pinning_topology_sweep.ipynb#ch0000003?line=2'>3</a>\u001b[0m seed \u001b[39m=\u001b[39m \u001b[39m0\u001b[39m\n\u001b[0;32m <a href='vscode-notebook-cell:/c%3A/Users/Administrator/Desktop/Pooria/wanrisk/MetaOptimize/parsers/demand_pinning_topology_sweep.ipynb#ch0000003?line=3'>4</a>\u001b[0m \u001b[39mfor\u001b[39;00m log_file \u001b[39min\u001b[39;00m log_file_list:\n\u001b[1;32m----> <a href='vscode-notebook-cell:/c%3A/Users/Administrator/Desktop/Pooria/wanrisk/MetaOptimize/parsers/demand_pinning_topology_sweep.ipynb#ch0000003?line=4'>5</a>\u001b[0m \u001b[39mwith\u001b[39;00m \u001b[39mopen\u001b[39;49m(log_file, \u001b[39m\"\u001b[39;49m\u001b[39mr\u001b[39;49m\u001b[39m\"\u001b[39;49m) \u001b[39mas\u001b[39;00m fp:\n\u001b[0;32m <a href='vscode-notebook-cell:/c%3A/Users/Administrator/Desktop/Pooria/wanrisk/MetaOptimize/parsers/demand_pinning_topology_sweep.ipynb#ch0000003?line=5'>6</a>\u001b[0m \u001b[39mfor\u001b[39;00m fline \u001b[39min\u001b[39;00m fp\u001b[39m.\u001b[39mreadlines():\n\u001b[0;32m <a href='vscode-notebook-cell:/c%3A/Users/Administrator/Desktop/Pooria/wanrisk/MetaOptimize/parsers/demand_pinning_topology_sweep.ipynb#ch0000003?line=6'>7</a>\u001b[0m \u001b[39mif\u001b[39;00m fline\u001b[39m.\u001b[39mstartswith(\u001b[39m\"\u001b[39m\u001b[39m#\u001b[39m\u001b[39m\"\u001b[39m):\n",
"\u001b[1;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '..\\\\logs\\\\demand_pinning_sweep_topo\\\\2022_6_21_9_45_46_58\\\\small_word_graphs_DemandPinning.txt'"
]
}
],
"outputs": [],
"source": [
"data_pd_dictionary = {\"seed\": [], \"thresh\": [], \"gap\": [], \"radix\": [], \"nodes\": [], \"diameter\": [], \"aspl\": []}\n",
"link_cap = 5000\n",
Expand Down

0 comments on commit 4e33330

Please sign in to comment.