Patch Detail
Show a patch.
GET /api/1.1/patches/3768/?format=api
{ "id": 3768, "url": "https://patchwork.libcamera.org/api/1.1/patches/3768/?format=api", "web_url": "https://patchwork.libcamera.org/patch/3768/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/1.1/projects/1/?format=api", "name": "libcamera", "link_name": "libcamera", "list_id": "libcamera_core", "list_email": "libcamera-devel@lists.libcamera.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20200512000322.11753-15-laurent.pinchart@ideasonboard.com>", "date": "2020-05-12T00:03:12", "name": "[libcamera-devel,14/24] utils: raspberrypi: ctt: Fix pycodestyle E222", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "a71495bc16d0e339fadfca0aa08d9bb6723eeab6", "submitter": { "id": 2, "url": "https://patchwork.libcamera.org/api/1.1/people/2/?format=api", "name": "Laurent Pinchart", "email": "laurent.pinchart@ideasonboard.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/3768/mbox/", "series": [ { "id": 897, "url": "https://patchwork.libcamera.org/api/1.1/series/897/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=897", "date": "2020-05-12T00:02:58", "name": "utils: raspberrypi: ctt: Comply with pycodestyle", "version": 1, "mbox": "https://patchwork.libcamera.org/series/897/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/3768/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/3768/checks/", "tags": {}, "headers": { "Return-Path": "<laurent.pinchart@ideasonboard.com>", "Received": [ "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 8935360DF6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 12 May 2020 02:03:40 +0200 (CEST)", "from pendragon.bb.dnainternet.fi (81-175-216-236.bb.dnainternet.fi\n\t[81.175.216.236])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 6C2DE33E;\n\tTue, 12 May 2020 02:03:39 +0200 (CEST)" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"Epmg2UCB\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1589241820;\n\tbh=FT3wRnF1P/D/yfxOKeNGRBK6YckDeXAEagCXEYy1ss0=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=Epmg2UCBIuRAaD3Uqh0QJDAQy49v0LUF1lnxp50uj2AinXkGDR51ZkgUR3MTw8jRx\n\t/8k0SCVIj/w9GC9LXDJmZ/j2+xhjYXmnt8+W4y/FpLRpCPpMCdVViMjY7koldlA1/h\n\tfmdd1VFTCI3PaLtY8qLHDyXsa7NVQ9/I7MXxQT8Y=", "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Tue, 12 May 2020 03:03:12 +0300", "Message-Id": "<20200512000322.11753-15-laurent.pinchart@ideasonboard.com>", "X-Mailer": "git-send-email 2.26.2", "In-Reply-To": "<20200512000322.11753-1-laurent.pinchart@ideasonboard.com>", "References": "<20200512000322.11753-1-laurent.pinchart@ideasonboard.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH 14/24] utils: raspberrypi: ctt: Fix\n\tpycodestyle E222", "X-BeenThere": "libcamera-devel@lists.libcamera.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "<libcamera-devel.lists.libcamera.org>", "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>", "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>", "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>", "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>", "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>", "X-List-Received-Date": "Tue, 12 May 2020 00:03:40 -0000" }, "content": "E222 multiple spaces after operator\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n utils/raspberrypi/ctt/ctt.py | 2 +-\n utils/raspberrypi/ctt/ctt_awb.py | 2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/utils/raspberrypi/ctt/ctt.py b/utils/raspberrypi/ctt/ctt.py\nindex 4d8d6addf415..f4cf37a03611 100755\n--- a/utils/raspberrypi/ctt/ctt.py\n+++ b/utils/raspberrypi/ctt/ctt.py\n@@ -739,7 +739,7 @@ def run_ctt(json_output, directory, config, log_output):\n do_alsc_colour = get_config(alsc_d, \"do_alsc_colour\", 1, 'bool')\n luminance_strength = get_config(alsc_d, \"luminance_strength\", 0.5, 'num')\n blacklevel = get_config(configs, \"blacklevel\", -1, 'num')\n- macbeth_d = get_config(configs, \"macbeth\", {}, 'dict')\n+ macbeth_d = get_config(configs, \"macbeth\", {}, 'dict')\n mac_small = get_config(macbeth_d, \"small\", 0, 'bool')\n mac_show = get_config(macbeth_d, \"show\", 0, 'bool')\n mac_config = (mac_small, mac_show)\ndiff --git a/utils/raspberrypi/ctt/ctt_awb.py b/utils/raspberrypi/ctt/ctt_awb.py\nindex e97d833d0e49..9b30115f53f4 100644\n--- a/utils/raspberrypi/ctt/ctt_awb.py\n+++ b/utils/raspberrypi/ctt/ctt_awb.py\n@@ -330,7 +330,7 @@ def get_alsc_patches(Img, colour_cals, grey=True):\n \"\"\"\n this works because -0 = 0 = first and -1 = last index\n \"\"\"\n- col_tabs = np.array(colour_cals[cts[-pos//len(cts)]])\n+ col_tabs = np.array(colour_cals[cts[-pos//len(cts)]])\n \"\"\"\n else, perform linear interpolation between existing alsc colour\n calibration tables\n", "prefixes": [ "libcamera-devel", "14/24" ] }