Skip to content

Commit

Permalink
Merge pull request #77 from phac-nml/sort_order
Browse files Browse the repository at this point in the history
Match results orders tiles as positive first
  • Loading branch information
Takadonet authored Mar 25, 2019
2 parents 4790121 + a36c7cc commit 3d0efaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bio_hansel/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ def main():
if output_tile_results:
if len(dfs) > 0:
dfall = pd.concat(dfs) # type: pd.DataFrame
dfall = dfall.sort_values(by='is_pos_tile', ascending=False)
dfall.to_csv(output_tile_results, **kwargs_for_pd_to_table)
logging.info('Tile results written to "{}".'.format(output_tile_results))
if args.json:
Expand Down

0 comments on commit 3d0efaa

Please sign in to comment.