Skip to content

Commit

Permalink
Apply formatting by the latest black
Browse files Browse the repository at this point in the history
  • Loading branch information
gtca committed Feb 20, 2023
1 parent 91a94bf commit 7bb60c0
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
"use_repository_button": True,
}


# app setup hook
def setup(app):
app.add_config_value(
Expand Down
1 change: 0 additions & 1 deletion muon/_atac/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@ def tss_enrichment(
title: str = "TSS Enrichment",
ax: Optional[Axes] = None,
):

"""
Plot relative enrichment scores around a TSS.
Expand Down
2 changes: 0 additions & 2 deletions muon/_atac/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,6 @@ def scan_sequences(


def get_sequences(data: Union[AnnData, MuData], bed: str, fasta_file: str, bed_file: str = None):

try:
import pybedtools
except ImportError:
Expand Down Expand Up @@ -999,7 +998,6 @@ def _tss_pileup(
for i in tqdm(
range(features.shape[0]), desc="Fetching Regions..."
): # iterate over features (e.g. genes)

f = features.iloc[i]
tss_start = f.Start - extend_upstream # First position of the TSS region
for fr in fragments.fetch(
Expand Down
1 change: 0 additions & 1 deletion muon/_core/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def read_10x_h5(filename: PathLike, extended: bool = True, *args, **kwargs) -> M
# - attempt to locate fragments file

if extended:

# 1) Read interval field from the HDF5 file
h5file = h5py.File(filename, "r")

Expand Down
1 change: 0 additions & 1 deletion tests/test_key_parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ def mdata(request):


class TestTraitParsing:

# Observations

def test_global_obs(self, mdata):
Expand Down
1 change: 0 additions & 1 deletion tests/test_muon_preproc.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ def mdata():

@pytest.mark.usefixtures("filepath_h5mu")
class TestInPlaceFiltering:

# Observations

def test_filter_obs_adata(self, mdata, filepath_h5mu):
Expand Down

0 comments on commit 7bb60c0

Please sign in to comment.