Skip to content

Commit f4c624c

Browse files
committed
Updated reindexing script 2
1 parent 9932e93 commit f4c624c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

bbconf/modules/bedfiles.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1477,7 +1477,10 @@ def reindex_qdrant(self, batch: int = 100, purge: bool = False) -> None:
14771477
except FileNotFoundError:
14781478
bed_region_set_obj = bb_client.load_bed(record.id)
14791479
except RuntimeError:
1480-
bed_region_set_obj = bb_client.load_bed(record.id)
1480+
_LOGGER.warning(
1481+
f"Unable to open file: {record.id}"
1482+
)
1483+
continue
14811484
except Exception:
14821485
_LOGGER.warning(
14831486
f"File not found or corrupted. Skipping.. {record.id}"

0 commit comments

Comments
 (0)