Skip to content

Commit ba1568b

Browse files
committed
🐛 apply isort
1 parent 2bf1614 commit ba1568b

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

scripts/gridsearch.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,9 @@
2626
from concurrent.futures import ProcessPoolExecutor, as_completed
2727
from pathlib import Path
2828

29-
from tqdm import tqdm
30-
3129
from src.opt.opt_dbg import run_pipeline_dbg
3230
from src.opt.opt_greedy import run_pipeline_greedy
31+
from tqdm import tqdm
3332

3433
BASE_DIR = Path(__file__).resolve().parents[2]
3534

scripts/model_peptide_selector.py

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,24 @@
1818
"""
1919

2020

21-
import re
2221
import json
23-
import pandas as pd
24-
import numpy as np
25-
import preprocessing as prep
22+
import re
2623
from math import log2
2724
from pathlib import Path
25+
26+
import joblib
27+
import matplotlib.pyplot as plt
28+
import numpy as np
29+
import pandas as pd
30+
import preprocessing as prep
31+
import seaborn as sns
2832
from sklearn.ensemble import RandomForestClassifier
29-
from sklearn.model_selection import train_test_split
3033
from sklearn.metrics import (
31-
precision_recall_curve,
32-
f1_score,
3334
average_precision_score,
35+
f1_score,
36+
precision_recall_curve,
3437
)
35-
import matplotlib.pyplot as plt
36-
import joblib
37-
import seaborn as sns
38+
from sklearn.model_selection import train_test_split
3839

3940
# side meaning where the protease cleaves
4041
# residues meaning which amino acids it cleaves after (C-side) or before (N-side

0 commit comments

Comments
 (0)