Skip to content

Commit

Permalink
Incorrectly named function affected other parts of the same method
Browse files Browse the repository at this point in the history
  • Loading branch information
markmcdowall committed May 9, 2017
1 parent d185fa5 commit 0e7c894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool/bed_indexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def bed2hdf5(self, file_id, assembly, file_sorted_bed, file_hdf5):
dset = grp['data']
fset = grp['files']
cset = grp['chromosomes']
file_idx = [f for f in fset if f != '']
file_idx = [fs for fs in fset if fs != '']
if file_id not in file_idx:
file_idx.append(file_id)
dset.resize((dset.shape[0], dset.shape[1]+1, MAX_CHROMOSOME_SIZE))
Expand Down

0 comments on commit 0e7c894

Please sign in to comment.