Skip to content

Commit 1215618

Browse files
committed
Fixed comments
1 parent 0c31b81 commit 1215618

File tree

5 files changed

+7
-13
lines changed

5 files changed

+7
-13
lines changed

bedhost/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.8.0"
1+
__version__ = "0.9.0"

bedhost/routers/bed_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ async def get_tokens(
485485

486486

487487
@router.get(
488-
"/{bed_id}/reference_validations",
488+
"/{bed_id}/genome-stats",
489489
summary="Get reference genome validation results",
490490
response_model=RefGenValidReturnModel,
491491
)

bedhost/routers/bedset_api.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,14 +216,11 @@ async def create_bedset(bedset: CreateBEDsetRequest):
216216
for bedfile_id in project.samples
217217
]
218218

219-
try:
220-
bbagent.bedset.get(identifier=project.name)
219+
if bbagent.bedset.exists(identifier=project.name):
221220
raise HTTPException(
222221
status_code=409,
223222
detail=f"BEDset with identifier {project.name} already exists",
224223
)
225-
except BedSetNotFoundError as _:
226-
pass
227224

228225
try:
229226
bbagent.bedset.create(

requirements/requirements-all.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
bbconf @ git+https://github.com/databio/bbconf.git@dev#egg=bbconf
2-
# bbconf>=0.9.1
1+
# bbconf @ git+https://github.com/databio/bbconf.git@dev#egg=bbconf
2+
bbconf>=0.10.0
33
fastapi>=0.103.0
44
logmuse>=0.2.7
55
markdown
@@ -9,4 +9,4 @@ uvicorn
99
yacman>=0.9.2
1010
pephubclient>=0.4.1
1111
psycopg[binary,pool]
12-
python-multipart>=0.0.9
12+
python-multipart>=0.0.9

ui/src/components/modals/create-bedset-modal.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type Props = {
1313
};
1414

1515
const API_BASE = import.meta.env.VITE_API_BASE || '';
16-
const API_ENDPOINT = `${API_BASE}/bedset/create/`;
16+
const API_ENDPOINT = `${API_BASE}/bedset/create`;
1717

1818
export const generateBEDsetCreationDescription = () => {
1919
const text = `
@@ -125,9 +125,6 @@ export const CreateBedSetModal = (props: Props) => {
125125

126126
</div>
127127

128-
</Modal.Body>
129-
<Modal.Body className="position-relative pt-2 ">
130-
131128
</Modal.Body>
132129
</Modal>
133130
);

0 commit comments

Comments
 (0)