Skip to content

Commit 94cc2e9

Browse files
committed
black formatting (rule change 2026)
1 parent 3651d63 commit 94cc2e9

File tree

12 files changed

+18
-14
lines changed

12 files changed

+18
-14
lines changed

autoprot/analysis/PCA.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
77
@documentation: Julian
88
"""
9+
910
from typing import Union, Literal
1011

1112
import pandas as pd

autoprot/analysis/clustering.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
77
@documentation: Julian
88
"""
9+
910
import os
1011
import warnings
1112
from typing import Union, Literal

autoprot/analysis/functional.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
77
@documentation: Julian
88
"""
9+
910
from functools import reduce
1011
from importlib import resources
1112
from typing import Union, Literal, List, Dict, Any, Tuple

autoprot/analysis/qc.py

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
77
@documentation: Julian
88
"""
9+
910
from typing import Literal
1011
from datetime import date
1112

@@ -233,21 +234,17 @@ def missed_cleavages(df_evidence, enzyme="Trypsin/P", save=True, ax=None, title=
233234
today = date.today().isoformat()
234235

235236
if "Experiment" not in df_evidence.columns.tolist():
236-
print(
237-
"Warning: Column [Experiment] either not unique or missing,\n\
238-
column [Raw file] used"
239-
)
237+
print("Warning: Column [Experiment] either not unique or missing,\n\
238+
column [Raw file] used")
240239
experiments = list(set((df_evidence["Raw file"])))
241240
else:
242241
experiments = list(set((df_evidence["Experiment"])))
243242

244243
rawfiles = list(set((df_evidence["Raw file"])))
245244
if len(experiments) != len(rawfiles):
246245
experiments = rawfiles
247-
print(
248-
"Warning: Column [Experiment] either not unique or missing,\n\
249-
column [Raw file] used"
250-
)
246+
print("Warning: Column [Experiment] either not unique or missing,\n\
247+
column [Raw file] used")
251248

252249
# calculate miss cleavage for each raw file in df_evidence
253250
df_missed_cleavage_summary = pd.DataFrame()
@@ -604,10 +601,8 @@ def dimethyl_labeling_efficieny(df_evidence, label, save=True) -> pd.DataFrame:
604601
experiments = list((df_evidence["Experiment"].unique()))
605602
else:
606603
experiments = list((df_evidence["Raw file"].unique()))
607-
print(
608-
"Warning: Column [Experiment] either not unique or missing,\n\
609-
column [Raw file] used"
610-
)
604+
print("Warning: Column [Experiment] either not unique or missing,\n\
605+
column [Raw file] used")
611606

612607
df_labeling_eff = pd.DataFrame()
613608

autoprot/analysis/stat_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
77
@documentation: Julian
88
"""
9+
910
import os
1011

1112
import numpy as np

autoprot/analysis/stats.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
77
@documentation: Julian
88
"""
9+
910
import pandas as pd
1011
import numpy as np
1112
import matplotlib.pylab as plt

autoprot/preprocessing/annotation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
77
@documentation: Julian
88
"""
9+
910
import os
1011
import re
1112
from importlib import resources

autoprot/preprocessing/filtering.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
77
@documentation: Julian
88
"""
9+
910
import functools
1011

1112
import numpy as np
@@ -15,7 +16,6 @@
1516
from autoprot.decorators import report
1617
from .. import r_helper
1718

18-
1919
RFUNCTIONS, R = r_helper.return_r_path()
2020

2121

autoprot/preprocessing/imputation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
77
@documentation: Julian
88
"""
9+
910
import numpy as np
1011
import pandas as pd
1112
from subprocess import run, PIPE, STDOUT

autoprot/preprocessing/transformation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
Julian Bender <julian.bender@uni-wuerzburg.de>
1111
Johannes Zimmermann <johannes.zimmermann@uni-wuerzburg.de>
1212
"""
13+
1314
import collections
1415
import re
1516
import warnings

0 commit comments

Comments
 (0)