From 8ea68f05edd2323a9a4f742f538f8c59d87a3988 Mon Sep 17 00:00:00 2001 From: deren Date: Mon, 16 Dec 2024 16:12:51 -0500 Subject: [PATCH] cosmetic --- ipyrad/analysis/window_extracter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipyrad/analysis/window_extracter.py b/ipyrad/analysis/window_extracter.py index b36119e4..d13b435d 100644 --- a/ipyrad/analysis/window_extracter.py +++ b/ipyrad/analysis/window_extracter.py @@ -757,7 +757,7 @@ def get_sample_stats(self): data = pd.DataFrame(index=names, columns=["nsites", "percent_missing"]) data["nsites"] = np.sum(self.seqarr != 78, axis=1) - data["percent_missing"] = 1 - round(data["nsites"] / self.seqarr.shape[1], 5) + data["percent_missing"] = round(1 - (data["nsites"] / self.seqarr.shape[1]), 5) return data