Clinical-Genomics / microSALT

Microbial Sequence Analysis and Loci-based Typing pipeline for use on NGS WGS data.
GNU General Public License v3.0
2 stars 3 forks source link

fix(SWEDAC) SWEDAC logo only on MW samples #159

Closed Vince-janv closed 1 year ago

Vince-janv commented 1 year ago

Description

Implements a commit from #125 to remove swedac logo for non-accredited analyses.

Primary function of PR

Test results

These are the results of the tests, and necessary conclusions, that prove the stability of the PR. See comments

Sign-offs

Vince-janv commented 1 year ago

Before:

Screenshot 2022-12-14 at 13 02 54

Now:

Screenshot 2022-12-14 at 13 01 13

Vince-janv commented 1 year ago

@moahaegglund, @henrikstranneheim Can anyone of you sign off on merging this?

Vince-janv commented 1 year ago

Installed in prod:

θ66° 6d [hiseq.clinical@hasta:/home/proj/production/bin/miniconda3/envs] [P_microSALT] 2m15s $ pip install -U git+https://github.com/Clinical-Genomics/microSALT@master Collecting git+https://github.com/Clinical-Genomics/microSALT@master Cloning https://github.com/Clinical-Genomics/microSALT (to revision master) to /home/hiseq.clinical/tmp/pip-req-build-75ezxmmm Running command git clone -q https://github.com/Clinical-Genomics/microSALT /home/hiseq.clinical/tmp/pip-req-build-75ezxmmm Resolved https://github.com/Clinical-Genomics/microSALT to commit f205c8a42b8659ccb175744691b15ef378662f3d Requirement already satisfied: biopython==1.78 in ./P_microSALT/lib/python3.6/site-packages (from microSALT==3.3.5) (1.78) Requirement already satisfied: bs4==0.0.1 in ./P_microSALT/lib/python3.6/site-packages (from microSALT==3.3.5) (0.0.1) Requirement already satisfied: click==7.1.2 in ./P_microSALT/lib/python3.6/site-packages (from microSALT==3.3.5) (7.1.2) Requirement already satisfied: flask==1.1.2 in ./P_microSALT/lib/python3.6/site-packages (from microSALT==3.3.5) (1.1.2) Requirement already satisfied: flask_sqlalchemy==2.4.4 in ./P_microSALT/lib/python3.6/site-packages (from microSALT==3.3.5) (2.4.4) Requirement already satisfied: pymysql==0.10.1 in ./P_microSALT/lib/python3.6/site-packages (from microSALT==3.3.5) (0.10.1) Requirement already satisfied: pyyaml==5.4.1 in ./P_microSALT/lib/python3.6/site-packages (from microSALT==3.3.5) (5.4.1) Requirement already satisfied: sqlalchemy==1.3.19 in ./P_microSALT/lib/python3.6/site-packages (from microSALT==3.3.5) (1.3.19) Requirement already satisfied: genologics==0.4.6 in ./P_microSALT/lib/python3.6/site-packages (from microSALT==3.3.5) (0.4.6) Requirement already satisfied: numpy in ./P_microSALT/lib/python3.6/site-packages (from biopython==1.78->microSALT==3.3.5) (1.19.5) Requirement already satisfied: beautifulsoup4 in ./P_microSALT/lib/python3.6/site-packages (from bs4==0.0.1->microSALT==3.3.5) (4.11.1) Requirement already satisfied: itsdangerous>=0.24 in ./P_microSALT/lib/python3.6/site-packages (from flask==1.1.2->microSALT==3.3.5) (2.0.1) Requirement already satisfied: Werkzeug>=0.15 in ./P_microSALT/lib/python3.6/site-packages (from flask==1.1.2->microSALT==3.3.5) (2.0.3) Requirement already satisfied: Jinja2>=2.10.1 in ./P_microSALT/lib/python3.6/site-packages (from flask==1.1.2->microSALT==3.3.5) (3.0.3) Requirement already satisfied: requests in ./P_microSALT/lib/python3.6/site-packages (from genologics==0.4.6->microSALT==3.3.5) (2.27.1) Requirement already satisfied: MarkupSafe>=2.0 in ./P_microSALT/lib/python3.6/site-packages (from Jinja2>=2.10.1->flask==1.1.2->microSALT==3.3.5) (2.0.1) Requirement already satisfied: dataclasses in ./P_microSALT/lib/python3.6/site-packages (from Werkzeug>=0.15->flask==1.1.2->microSALT==3.3.5) (0.8) Requirement already satisfied: soupsieve>1.2 in ./P_microSALT/lib/python3.6/site-packages (from beautifulsoup4->bs4==0.0.1->microSALT==3.3.5) (2.3.2.post1) Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./P_microSALT/lib/python3.6/site-packages (from requests->genologics==0.4.6->microSALT==3.3.5) (1.26.12) Requirement already satisfied: certifi>=2017.4.17 in ./P_microSALT/lib/python3.6/site-packages (from requests->genologics==0.4.6->microSALT==3.3.5) (2021.5.30) Requirement already satisfied: charset-normalizer~=2.0.0 in ./P_microSALT/lib/python3.6/site-packages (from requests->genologics==0.4.6->microSALT==3.3.5) (2.0.12) Requirement already satisfied: idna<4,>=2.5 in ./P_microSALT/lib/python3.6/site-packages (from requests->genologics==0.4.6->microSALT==3.3.5) (3.4) Building wheels for collected packages: microSALT Building wheel for microSALT (setup.py) ... done Created wheel for microSALT: filename=microSALT-3.3.5-py3-none-any.whl size=228419 sha256=d082b4a43d2e7797b2bb121983bc13b73f326f29e21b994d93cdbc55b803bdb9 Stored in directory: /home/hiseq.clinical/tmp/pip-ephem-wheel-cache-8qiyz4jv/wheels/fa/49/76/6c8e25f03aab24eda656c87d4a3c45fbc6f9629ca858f1cf3a Successfully built microSALT Installing collected packages: microSALT Successfully installed microSALT-3.3.5 θ68° 6d [hiseq.clinical@hasta:/home/proj/production/bin/miniconda3/envs] [P_microSALT] 1m0s $ which microsalt /usr/bin/which: no microsalt in (/home/proj/production/bin:/home/proj/stage/bin:/home/proj/production/bin/miniconda3/envs/P_microSALT/bin:/home/hiseq.clinical/.poetry/bin:/home/proj/production/bin/miniconda3/condabin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/opt/ganglia/bin:/opt/ganglia/sbin:/opt/pdsh/bin:/opt/rocks/bin:/opt/rocks/sbin:/opt/dell/srvadmin/bin) θ71° 6d [hiseq.clinical@hasta:/home/proj/production/bin/miniconda3/envs] [P_microSALT] 1 $ which microSALT /home/proj/production/bin/miniconda3/envs/P_microSALT/bin/microSALT θ70° 6d [hiseq.clinical@hasta:/home/proj/production/bin/miniconda3/envs] [P_microSALT] $ ll /home/proj/production/bin/miniconda3/envs/P_microSALT/bin/microSALT -rwxrwxr-x+ 1 hiseq.clinical users 263 Dec 14 14:05 /home/proj/production/bin/miniconda3/envs/P_microSALT/bin/microSALT θ71° 6d [hiseq.clinical@hasta:/home/proj/production/bin/miniconda3/envs] [P_microSALT] $