SciLifeLab/scilifelab — pull request #111 by percyfal (2012-12-03 17:44:32+00:00)
Title: Hotfix - bug fix and improvements for reports

- change parse_bc_metrics to get_bc_count for sample run metrics - makes more sense
- return None instead of {}
- factor out _match_barcode_name_to_project_sample from get_project_sample for easier testing and readability
- add phix command line argument
- add fallback on SampleSheet.csv for new flowcells where FLOWCELL_ID.csv is missing
- add error checking statements in sequencing_success
- improve formatting of read counts
- format negative (=impossible) values for phix error and barcode count as N/A
- add tests, mainly for barcode matching