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))