bailey-lab / MIPTools

A suite of computational tools used for molecular inversion probe design, data processing, and analysis.
https://miptools.readthedocs.io
MIT License
6 stars 9 forks source link

Human readable printing #3

Closed arisp99 closed 3 years ago

arisp99 commented 3 years ago

It would be helpful to have human-readable formatting when info is printed about demux. The lines of interest are below:

https://github.com/bailey-lab/MIPTools/blob/37664d59808ceecf8f539da3311c3586db610ef0/src/demux_qc.py#L71-L75

https://github.com/bailey-lab/MIPTools/blob/37664d59808ceecf8f539da3311c3586db610ef0/src/demux_qc.py#L90-L92

To implement this, could use "{:,}".format(number).

arisp99 commented 3 years ago

There are also several places in mip_functions.py where this would be beneficial. For instance, the following lines: https://github.com/bailey-lab/MIPTools/blob/37664d59808ceecf8f539da3311c3586db610ef0/src/mip_functions.py#L364-L365