Skip to content

Commit

Permalink
Fix ruff checks for tutorial notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfG committed Aug 19, 2024
1 parent 4215f8d commit 5a83d9b
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 5a83d9b

Please sign in to comment.