Skip to content

Commit 9880d37

Browse files
committed
Small update
1 parent e8ac229 commit 9880d37

1 file changed

Lines changed: 1 addition & 37 deletions

File tree

abfe_tutorial/abfe_analysis.ipynb

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@
281281
"metadata": {},
282282
"source": [
283283
"### Methods to extract and manipulate the ABFE results\n",
284-
"The next four methods allow you to extract ABFE results (extract_results_dict) and then manipulate them to get different types of results.\n",
284+
"The next three methods allow you to extract ABFE results (extract_results_dict) and then manipulate them to get different types of results.\n",
285285
"\n",
286286
"These include:\n",
287287
"\n",
@@ -404,42 +404,6 @@
404404
" return df"
405405
]
406406
},
407-
{
408-
"cell_type": "code",
409-
"execution_count": 11,
410-
"id": "5e026eaf-2a95-4d4a-873d-b0d6e8d622c8",
411-
"metadata": {},
412-
"outputs": [],
413-
"source": [
414-
"def _generate_raw(legs:dict) -> None:\n",
415-
" \"\"\"\n",
416-
" Write out all legs found and their DG values, or indicate that they have failed.\n",
417-
"\n",
418-
" Parameters\n",
419-
" ----------\n",
420-
" legs : dict\n",
421-
" Dict of legs to write out.\n",
422-
" \"\"\"\n",
423-
" data = []\n",
424-
" for lig, results in sorted(legs.items()):\n",
425-
" for simtype, repeats in sorted(results.items()):\n",
426-
" if simtype != 'overall':\n",
427-
" for repeat in repeats:\n",
428-
" m, u = format_estimate_uncertainty(repeat[0].m, repeat[1].m, unc_prec=2)\n",
429-
" data.append((simtype, lig, m, u))\n",
430-
"\n",
431-
" df = pd.DataFrame(\n",
432-
" data,\n",
433-
" columns=[\n",
434-
" \"leg\",\n",
435-
" \"ligand_i\",\n",
436-
" \"DG(i->j) (kcal/mol)\",\n",
437-
" \"uncertainty (kcal/mol)\",\n",
438-
" ],\n",
439-
" )\n",
440-
" return df"
441-
]
442-
},
443407
{
444408
"cell_type": "markdown",
445409
"id": "98a84e37-91c3-4f78-8a68-a54f8835f7d2",

0 commit comments

Comments
 (0)