From 5a83d9be8666167223596febc3da0bc7bbf06882 Mon Sep 17 00:00:00 2001 From: RalfG Date: Mon, 19 Aug 2024 14:05:01 +0200 Subject: [PATCH] Fix ruff checks for tutorial notebook --- docs/source/tutorials/in-depth-python-api.ipynb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/source/tutorials/in-depth-python-api.ipynb b/docs/source/tutorials/in-depth-python-api.ipynb index 502c7d06..1a5b3ee8 100644 --- a/docs/source/tutorials/in-depth-python-api.ipynb +++ b/docs/source/tutorials/in-depth-python-api.ipynb @@ -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" ] }, @@ -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" ] }, { @@ -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",