Skip to content

Commit

Permalink
Minor typo fixes from last release.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus1487 committed Mar 13, 2018
1 parent 9ff653d commit c60b5b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tombo/tests/shell_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ tombo event_resquiggle \

printf "\n\n********* Testing minimap2 index **********\n"
tombo resquiggle \
$natDir $mmiFn \
$natDir $genomeFn --minimap2-index $mmiFn \
--corrected-group RawMinimapIndexCorrected \
--processes 4 --overwrite \
--failed-reads-filename testing.native.failed_read.txt
Expand Down
6 changes: 3 additions & 3 deletions tombo/tombo_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -1515,11 +1515,11 @@ def get_region_per_read_stats(self, interval_data, num_reads=None):
block_read_id_lookup = dict([
(read_id_val, read_id) for read_id, read_id_val in
self.per_read_blocks[block_data[2]][
'block_stats/read_ids'].attrs.items()])
'read_ids'].attrs.items()])
reg_read_ids = [
block_read_id_lookup[r_id] for r_id in block_stats['read_id']]
int_block_stats.appen(np.array(
list(zip(reg_poss, reg_read_stats, conv_reg_ids)),
int_block_stats.append(np.array(
list(zip(reg_poss, reg_read_stats, reg_read_ids)),
dtype=[(str('pos'), 'u4'), (str('stat'), 'f8'),
(str('read_id'), object)]))

Expand Down

0 comments on commit c60b5b6

Please sign in to comment.