From e6a62189ee8f77711d5fd4752311c5e6739f35fa Mon Sep 17 00:00:00 2001 From: Lucas-Raphael Mueller Date: Mon, 20 Feb 2023 12:37:03 +0100 Subject: [PATCH] Squashed commit of the following: commit a3f5b3ee12e5ffa42961c606b6ace6ab8e69e38f Author: Lucas-Raphael Mueller Date: Mon Feb 20 12:24:14 2023 +0100 fix type annotation commit 28ac925a9a9c378c03f4bd6e4b5890590ae20dbf Author: Lucas-Raphael Mueller Date: Mon Feb 20 11:43:32 2023 +0100 add os commit dd11e1d48ec7df58ffaab32bae6be62faa531383 Author: Lucas-Raphael Mueller Date: Mon Feb 20 11:42:19 2023 +0100 quotes commit e303707f5241e549b060e4dd357431421e785f2b Author: Lucas-Raphael Mueller Date: Mon Feb 20 11:40:04 2023 +0100 change to mamba for rtd --- .readthedocs.yaml | 5 +++++ decode/generic/emitter.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 3762cd38..0c3f6e95 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -1,6 +1,11 @@ # Required version: 2 +build: + os: ubuntu-20.04 + tools: + python: "mambaforge-4.10" + conda: environment: environment.yaml diff --git a/decode/generic/emitter.py b/decode/generic/emitter.py index 270846b1..7134a3a1 100644 --- a/decode/generic/emitter.py +++ b/decode/generic/emitter.py @@ -733,7 +733,7 @@ def filter_by_sigma(self, fraction: float, dim: Optional[int] = None, return_low return self[filt_sig] - def hist_detection(self) -> dict(): + def hist_detection(self) -> dict: """ Compute hist for detection associated attributes.