Skip to content

Commit

Permalink
lint line fix
Browse files Browse the repository at this point in the history
  • Loading branch information
agalitsyna committed Feb 6, 2024
1 parent e7d4c1c commit d93df6d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bioframe/extras.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit d93df6d

Please sign in to comment.