Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nsheff committed Oct 17, 2023
1 parent 83b2ced commit bcbb550
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions bedhost/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ class IncorrectSchemaException(BedHostException):
"""
Exception raised for errors in the pipestat input schema.
"""

def __init__(self, msg=""):
super().__init__(f"""Incorrect schema. {msg}""")
1 change: 0 additions & 1 deletion bedhost/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
)



app = FastAPI(
title=PKG_NAME,
description="BED file/sets statistics and image server API",
Expand Down
4 changes: 3 additions & 1 deletion bedhost/routers/bed_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ async def get_bed_schema():
@router.get("/example")
async def get_bed_example():
x = bbc.bed.get_records(limit=1)
return bbc.bed.retrieve(record_identifier=x.get("records", [])[0], )
return bbc.bed.retrieve(
record_identifier=x.get("records", [])[0],
)


@router.get("/{md5sum}/metadata", response_model=DBResponse)
Expand Down

0 comments on commit bcbb550

Please sign in to comment.