Remaining typos: lenght -> length

Issue #122 wontfix
Samuel Lampa created an issue

There are still some remaining typos where length is spelled lenght:

How to reproduce

cd resfinder
git checkout 3a15d8996b324789b8fc27d7c1157ce0a4b8b9e9
grep -nr lenght *

Actual result

CHANGELOG.md:20:- Spelling error in json output "ref_seq_lenght". It is now "ref_seq_length"
scripts/fparseJSONtoRESULTS.py:67:                    if j[1].get("alignment_length") == j[1].get("ref_seq_lenght"):
scripts/fparseJSONtoRESULTS.py:74:                    elif j[1].get("alignment_length") < j[1].get("ref_seq_lenght"):
scripts/fparseJSONtoRESULTS.py:82:                    if j[1].get("alignment_length") == j[1].get("ref_seq_lenght"):
scripts/fparseJSONtoRESULTS.py:89:                    elif j[1].get("alignment_length") < j[1].get("ref_seq_lenght"):
scripts/fparseJSONtoRESULTS.py:100:                self.data_row.append(str(j[1].get("alignment_length")) + ".."+ str(j[1].get("ref_seq_lenght")))

Expected result

It is expected that the grep command should only return the line from CHANGELOG.md

Comments (1)

  1. RolfKaas

    The scripts folder is a collection of different helper scripts created by developers mainly for inspiration and as an archive of ideas. These scripts are not maintained. I have made a note that we should put up a disclaimer/readme for this directory.

  2. Log in to comment