Skip to content

Commit

Permalink
Merge pull request #180 from compomics/fix/ruff-formatting-ipynb
Browse files Browse the repository at this point in the history
Fix ruff checks for tutorial notebook
  • Loading branch information
RalfG authored Aug 19, 2024
2 parents 4215f8d + 5a83d9b commit 840f0c5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/source/tutorials/in-depth-python-api.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -37342,7 +37342,7 @@
"from pyteomics.mgf import read as read_mgf\n",
"\n",
"for spectrum in read_mgf(\"../../../examples/mgf/20161213_NGHF_DBJ_SA_Exp3A_HeLa_1ug_7min_15000_02.mgf\"):\n",
" print(spectrum[\"params\"][\"title\"])\n",
" print(spectrum[\"params\"][\"title\"]) # noqa T201\n",
" break"
]
},
Expand All @@ -37362,7 +37362,7 @@
"source": [
"import re\n",
"spectrum_id = re.match(r\".*scan=(\\d+)$\", spectrum[\"params\"][\"title\"]).group(1)\n",
"print(spectrum_id)"
"print(spectrum_id) # noqa T201"
]
},
{
Expand Down Expand Up @@ -38120,7 +38120,6 @@
"metadata": {},
"outputs": [],
"source": [
"import plotly.express as px\n",
"from ms2rescore.report.charts import (\n",
" calculate_feature_qvalues,\n",
" feature_ecdf_auc_bar,\n",
Expand Down

0 comments on commit 840f0c5

Please sign in to comment.