Skip to content

Commit 89a56ce

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c1ffc24 commit 89a56ce

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

ALLCools/clustering/feature_selection/feature_enrichment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ def cluster_enriched_features(
241241
null_values = null_enrichment.iloc[row, :].sort_values()
242242
values = enrichment.iloc[row, :]
243243
pvals = 1 - np.searchsorted(null_values, values) / values.shape[0]
244-
(_, q, _, _) = multipletests(pvals, alpha, method="fdr_bh")
244+
_, q, _, _ = multipletests(pvals, alpha, method="fdr_bh")
245245
qvals[row, :] = q
246246
qvals = pd.DataFrame(qvals, index=enrichment.index, columns=enrichment.columns)
247247

ALLCools/plot/genome_track/GtfTrack.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,7 @@ class GtfTrack(BedTrack):
181181

182182
SUPPORTED_ENDINGS = ["gtf", "gtf.gz", "gtf.db"]
183183
TRACK_TYPE = "gtf"
184-
OPTIONS_TXT = (
185-
GenomeTrack.OPTIONS_TXT
186-
+ f"""
184+
OPTIONS_TXT = GenomeTrack.OPTIONS_TXT + f"""
187185
# By default the transcript_name is used.
188186
# If you want to use the gene_name:
189187
# prefered_name = gene_name
@@ -255,7 +253,6 @@ class GtfTrack(BedTrack):
255253
# optional. If not given is guessed from the file ending.
256254
file_type = {TRACK_TYPE}
257255
"""
258-
)
259256

260257
DEFAULTS_PROPERTIES = {
261258
"fontsize": 12,

0 commit comments

Comments
 (0)