Closed chendongo closed 4 months ago
Hi @chendongo I'm not sure what version or commit you're looking at, but the official repo for nf-flu is at https://github.com/CFIA-NCFAD/nf-flu
|=
was added in Python 3.9 via PEP 584 for updating dicts as an alternative to the .update
method.
Update a dict in place: The Obvious Way is to use the update() method. If this proposal is accepted, the |= augmented assignment operator will also work, but that is a side-effect of how augmented assignments are defined. Which you choose is a matter of taste.
Research
Question about nf-flu
you parse_influenza_blast_results.py has two question 1: count not is counts
2: update not |=
![image](https://github.com/peterk87/nf-flu/assets/33278480/36007900-88d0-4ae3-9aee-cddd8361a649)