Skip to content

Commit 9bd2963

Browse files
committed
cleaning
1 parent 081ae58 commit 9bd2963

File tree

7 files changed

+8
-10
lines changed

7 files changed

+8
-10
lines changed

bedboss/bbuploader/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import typer
2+
from bedboss._version import __version__
23

34
app_bbuploader = typer.Typer(
45
pretty_exceptions_short=False,
56
pretty_exceptions_show_locals=False,
67
help="Automatic BEDbase uploader for GEO data",
78
)
8-
from bedboss._version import __version__
99

1010

1111
@app_bbuploader.command(

bedboss/bbuploader/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def upload_all(
9696
gse_status.status == STATUS.FAIL
9797
or gse_status.status == STATUS.PROCESSING
9898
) and not run_failed:
99-
_LOGGER.info(f"Reprocessing of failed set to false, exiting.")
99+
_LOGGER.info("Reprocessing of failed set to false, exiting.")
100100
continue
101101

102102
elif (
@@ -278,7 +278,7 @@ def upload_gse(
278278
gse_status.status == STATUS.FAIL
279279
or gse_status.status == STATUS.PROCESSING
280280
) and not run_failed:
281-
_LOGGER.info(f"Reprocessing of failed set to false, exiting.")
281+
_LOGGER.info("Reprocessing of failed set to false, exiting.")
282282
exit()
283283

284284
elif (

bedboss/bedclassifier/bedclassifier.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def get_bed_type(bed: str, no_fail: Optional[bool] = True) -> Tuple[str, str]:
4545
if row_count > 0:
4646
_LOGGER.info(f"Skipped {row_count} rows to parse bed file {bed}")
4747
break
48-
except UnicodeDecodeError as e:
48+
except UnicodeDecodeError:
4949
try:
5050
df = pd.read_csv(
5151
bed,

bedboss/bedmaker/bedmaker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def make_bigbed(
7878
try:
7979
chrom_sizes = get_chrom_sizes(genome=genome, rfg_config=rfg_config)
8080
except MissingGenomeError:
81-
_LOGGER.error(f"Could not find Genome in refgenie. Skipping...")
81+
_LOGGER.error("Could not find Genome in refgenie. Skipping...")
8282
chrom_sizes = ""
8383

8484
temp = os.path.join(output_path, next(tempfile._get_candidate_names()))
@@ -391,7 +391,7 @@ def make_all(
391391
chrom_sizes=chrom_sizes,
392392
pm=pm,
393393
)
394-
except BedBossException as e:
394+
except BedBossException:
395395
output_bigbed = None
396396
if pm_clean:
397397
pm.stop_pipeline()

bedboss/bedmaker/const.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from enum import Enum
2-
31
BED_TO_BIGBED_PROGRAM = "bedToBigBed"
42
# BED_TO_BIGBED_PROGRAM = "/home/bnt4me/virginia/repos/bedbase_all/bedboss/bedToBigBed"
53
BIGBED_TO_BED_PROGRAM = "bigBedToBed"

bedboss/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def make_bed(
244244
)
245245

246246

247-
@app.command(help=f"Create a bigbed files form a bed file")
247+
@app.command(help="Create a bigbed files form a bed file")
248248
def make_bigbed(
249249
bed_file: str = typer.Option(
250250
...,

bedboss/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import pathlib
22
from enum import Enum
3-
from typing import Dict, Union
3+
from typing import Union
44

55
import pypiper
66
from bbconf.models.bed_models import (

0 commit comments

Comments
 (0)