From d93df6dd992f9ad410440a13fe0efcb92b20588c Mon Sep 17 00:00:00 2001 From: agalitsyna Date: Tue, 6 Feb 2024 15:50:18 -0500 Subject: [PATCH] lint line fix --- bioframe/extras.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bioframe/extras.py b/bioframe/extras.py index 942cdfa0..a123f6ba 100644 --- a/bioframe/extras.py +++ b/bioframe/extras.py @@ -513,7 +513,9 @@ def pair_by_distance( idxs["intervening"] = ( np.abs(idxs[f"index{suffixes[0]}"] - idxs[f"index{suffixes[1]}"]) - 1 ) - idxs = idxs[(idxs['intervening']<=max_intervening) & (idxs['intervening']>=min_intervening)] + idxs = idxs[ + (idxs['intervening']<=max_intervening) & (idxs['intervening']>=min_intervening) + ] left_ivals = ( df.iloc[idxs[f"index{suffixes[0]}"].values]