diff --git a/notebooks/generic/overallmodules_Darks_Summary_NBC.ipynb b/notebooks/generic/overallmodules_Darks_Summary_NBC.ipynb index 7aeaf02f87280e5761add6e7d93b6a95494132ad..9a9012bc7388761097468d3cb25ddcd83dec5f75 100644 --- a/notebooks/generic/overallmodules_Darks_Summary_NBC.ipynb +++ b/notebooks/generic/overallmodules_Darks_Summary_NBC.ipynb @@ -81,6 +81,9 @@ " nmods = 8\n", " else:\n", " nmods = 1\n", + " print(\"Summary plots are not available for AGIPD single module detector\")\n", + " import sys\n", + " sys.exit(0)\n", " # This list needs to be in that order as later Adaptive or fixed gain is\n", " # decided based on the condition for the Offset constant.\n", " expected_constants = ['Offset', 'Noise', 'ThresholdsDark', 'BadPixelsDark']\n", @@ -382,15 +385,19 @@ "outputs": [], "source": [ "if \"LPD\" in karabo_id:\n", - " geom = extra_geom.LPD_1MGeometry.from_quad_positions(quad_pos=[(11.4, 299),\n", - " (-11.5, 8),\n", - " (254.5, -16),\n", - " (278.5, 275)])\n", + " geom = extra_geom.LPD_1MGeometry.from_quad_positions(\n", + " quad_pos=[\n", + " (11.4, 299),\n", + " (-11.5, 8),\n", + " (254.5, -16),\n", + " (278.5, 275)])\n", "elif \"AGIPD1M\" in karabo_id:\n", - " geom = extra_geom.AGIPD_1MGeometry.from_quad_positions(quad_pos=[(-525, 625),\n", - " (-550, -10),\n", - " (520, -160),\n", - " (542.5, 475)])\n", + " geom = extra_geom.AGIPD_1MGeometry.from_quad_positions(\n", + " quad_pos=[\n", + " (-525, 625),\n", + " (-550, -10),\n", + " (520, -160),\n", + " (542.5, 475)])\n", "elif \"AGIPD500K\" in karabo_id:\n", " geom = extra_geom.AGIPD_500K2GGeometry.from_origin()\n", "elif \"DSSC\" in karabo_id:\n",