Merge remote-tracking branch 'origin/main' into main
# Conflicts: # sras_compute.py # sras_viewer.py # sras_workers.py # tools/make_test_sras.py # tools/test_refactor.py
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ def read_header_sections(sras: SrasFile) -> bytes:
|
||||
lost in a re-encode."""
|
||||
with open(sras.path, "rb") as f:
|
||||
f.seek(HDR_SIZE)
|
||||
return f.read(sras._data_offset - HDR_SIZE)
|
||||
return f.read(sras.data_offset - HDR_SIZE)
|
||||
|
||||
|
||||
def average_rows(block: np.ndarray, n: int, discard_remainder: bool) -> np.ndarray:
|
||||
|
||||
Reference in New Issue
Block a user