Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No logging colours if writing to file #20

Closed
mbhall88 opened this issue Feb 13, 2024 · 1 comment
Closed

No logging colours if writing to file #20

mbhall88 opened this issue Feb 13, 2024 · 1 comment

Comments

@mbhall88
Copy link

If the log is being redirected to a file, it would be nice to disable colouring, otherwise the log file looks like thi

ESC[32m[INFO  vcfdist 09:35:06]ESC[0m ESC[35m[0/8] Loading reference FASTAESC[0m '/data/scratch/projects/punim2009/NanoVarBench/results/truth/ATCC_25922__202309/mutreference.fna'
ESC[32m[INFO  vcfdist 09:35:06]ESC[0m
ESC[32m[INFO  vcfdist 09:35:06]ESC[0m ESC[35m[Q 0/8] Parsing QUERY VCFESC[0m '/data/scratch/projects/punim2009/NanoVarBench/results/call/mutref/clair3/100x/simplex/v4.3.0/dna_r10.4.1_e8.2_400bps_fast@v4.3.0/ATCC_25922__202309.100x.clair3.filter.vcf.gz'
ESC[33m[WARN  vcfdist 09:35:06]ESC[0m 'PS' tag not defined in QUERY VCF header, assuming one phase set per contig
ESC[32m[INFO  vcfdist 09:35:06]ESC[0m   Genotypes:
ESC[32m[INFO  vcfdist 09:35:06]ESC[0m       1: 8762
@TimD1
Copy link
Owner

TimD1 commented Feb 15, 2024

Fixed in vcfdist v2.3.4

@TimD1 TimD1 closed this as completed Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants