Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbuehlmann committed Oct 16, 2023
1 parent 25dbc0d commit 3897ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haccytrees/coretrees/coretree_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def corematrix_reader(

# read index, find start and end of chunk
with h5py.File(filename) as forest_file:
ncores = forest_file["data"]["core_tag"][:]
ncores = len(forest_file["data"]["core_tag"][:])
roots = forest_file["index"]["root_idx"][:]
nroots = len(roots)
file_end = ncores
Expand Down

0 comments on commit 3897ce5

Please sign in to comment.