From 7af39255b1d458df34f7daf37496325e2ca8f578 Mon Sep 17 00:00:00 2001 From: fjosw Date: Fri, 12 Nov 2021 09:42:26 +0000 Subject: [PATCH] Documentation updated --- docs/pyerrors/obs.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/pyerrors/obs.html b/docs/pyerrors/obs.html index 6eb16cc1..70cddc56 100644 --- a/docs/pyerrors/obs.html +++ b/docs/pyerrors/obs.html @@ -1624,7 +1624,7 @@ if r_name not in obs2.e_content[e_name]: continue idl_d[r_name] = _merge_idx([obs1.idl[r_name], obs2.idl[r_name]]) - if idl_d[r_name] is range: + if isinstance(idl_d[r_name], range): r_length.append(len(idl_d[r_name])) else: r_length.append((idl_d[r_name][-1] - idl_d[r_name][0] + 1)) @@ -4694,7 +4694,7 @@ returned (default False) if r_name not in obs2.e_content[e_name]: continue idl_d[r_name] = _merge_idx([obs1.idl[r_name], obs2.idl[r_name]]) - if idl_d[r_name] is range: + if isinstance(idl_d[r_name], range): r_length.append(len(idl_d[r_name])) else: r_length.append((idl_d[r_name][-1] - idl_d[r_name][0] + 1))