module-qc-database-tools 2.12.1rc0__tar.gz → 2.12.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/.gitlab-ci.yml +2 -2
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/.zenodo.json +3 -3
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/CITATION.cff +2 -2
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/PKG-INFO +2 -2
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/README.md +1 -1
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/ci/pre-commit-update.sh +1 -1
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/history.md +38 -5
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/install.md +2 -2
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/_version.py +2 -2
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/cli/run_full_qc.py +44 -42
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/core.py +81 -1
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/utils.py +1 -1
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/tbump.toml +2 -2
- module_qc_database_tools-2.12.2/tests/data/data_merging_configs/0x20c27_L2_warm.json +35 -0
- module_qc_database_tools-2.12.2/tests/data/data_merging_configs/0x20c27_L2_warm_2-to-1.json +35 -0
- module_qc_database_tools-2.12.2/tests/data/data_merging_configs/0x20c27_L2_warm_4-to-1.json +35 -0
- module_qc_database_tools-2.12.2/tests/data/data_merging_configs/0x20c28_L2_warm.json +35 -0
- module_qc_database_tools-2.12.2/tests/data/data_merging_configs/0x20c28_L2_warm_2-to-1.json +35 -0
- module_qc_database_tools-2.12.2/tests/data/data_merging_configs/0x20c28_L2_warm_4-to-1.json +35 -0
- module_qc_database_tools-2.12.2/tests/data/data_merging_configs/0x20c34_L2_warm.json +35 -0
- module_qc_database_tools-2.12.2/tests/data/data_merging_configs/0x20c34_L2_warm_2-to-1.json +35 -0
- module_qc_database_tools-2.12.2/tests/data/data_merging_configs/0x20c34_L2_warm_4-to-1.json +35 -0
- module_qc_database_tools-2.12.2/tests/data/data_merging_configs/0x20c4d_L2_warm.json +35 -0
- module_qc_database_tools-2.12.2/tests/data/data_merging_configs/0x20c4d_L2_warm_2-to-1.json +35 -0
- module_qc_database_tools-2.12.2/tests/data/data_merging_configs/0x20c4d_L2_warm_4-to-1.json +35 -0
- module_qc_database_tools-2.12.2/tests/test_data_merging_configs.py +139 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/tests/test_mqat_version.py +5 -3
- module_qc_database_tools-2.12.2/tests/test_set_imux_gnd_offset.py +116 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/.env.template +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/.gitattributes +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/.gitignore +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/.linkcheckerrc +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/.pre-commit-config.yaml +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/LICENSE +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/.gitkeep +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/.overrides/main.html +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/.snippets/abbrs.txt +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/.snippets/links.txt +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/assets/css/custom.css +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/config.md +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/development.md +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/dynamic_docstring.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/index.md +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/iref_trim.md +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/meta/authors.md +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/reference/cli.md +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/reference/gen_ref_nav.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOjCnqEu92Fr1Mu51TjASc-CsTKlA.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOjCnqEu92Fr1Mu51TjASc0CsTKlA.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOjCnqEu92Fr1Mu51TjASc1CsTKlA.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOjCnqEu92Fr1Mu51TjASc2CsTKlA.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOjCnqEu92Fr1Mu51TjASc3CsTKlA.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOjCnqEu92Fr1Mu51TjASc5CsTKlA.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOjCnqEu92Fr1Mu51TjASc6CsQ.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOjCnqEu92Fr1Mu51TzBic-CsTKlA.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOjCnqEu92Fr1Mu51TzBic0CsTKlA.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOjCnqEu92Fr1Mu51TzBic1CsTKlA.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOjCnqEu92Fr1Mu51TzBic2CsTKlA.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOjCnqEu92Fr1Mu51TzBic3CsTKlA.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOjCnqEu92Fr1Mu51TzBic5CsTKlA.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOjCnqEu92Fr1Mu51TzBic6CsQ.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOkCnqEu92Fr1Mu51xEIzIFKw.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOkCnqEu92Fr1Mu51xFIzIFKw.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOkCnqEu92Fr1Mu51xGIzIFKw.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOkCnqEu92Fr1Mu51xHIzIFKw.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOkCnqEu92Fr1Mu51xIIzI.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOkCnqEu92Fr1Mu51xLIzIFKw.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOkCnqEu92Fr1Mu51xMIzIFKw.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOlCnqEu92Fr1MmSU5fABc4EsA.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOlCnqEu92Fr1MmSU5fBBc4.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOlCnqEu92Fr1MmSU5fBxc4EsA.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOlCnqEu92Fr1MmSU5fCBc4EsA.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOlCnqEu92Fr1MmSU5fCRc4EsA.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOlCnqEu92Fr1MmSU5fChc4EsA.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOlCnqEu92Fr1MmSU5fCxc4EsA.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOlCnqEu92Fr1MmWUlfABc4EsA.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOlCnqEu92Fr1MmWUlfBBc4.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOlCnqEu92Fr1MmWUlfBxc4EsA.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOlCnqEu92Fr1MmWUlfCBc4EsA.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOlCnqEu92Fr1MmWUlfCRc4EsA.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOlCnqEu92Fr1MmWUlfChc4EsA.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOlCnqEu92Fr1MmWUlfCxc4EsA.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOmCnqEu92Fr1Mu4WxKOzY.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOmCnqEu92Fr1Mu4mxK.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOmCnqEu92Fr1Mu5mxKOzY.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOmCnqEu92Fr1Mu72xKOzY.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOmCnqEu92Fr1Mu7GxKOzY.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOmCnqEu92Fr1Mu7WxKOzY.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/KFOmCnqEu92Fr1Mu7mxKOzY.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/L0xTDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vrtSM1J-gEPT5Ese6hmHSV0mf0h.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/L0xTDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vrtSM1J-gEPT5Ese6hmHSZ0mf0h.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/L0xTDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vrtSM1J-gEPT5Ese6hmHSd0mf0h.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/L0xTDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vrtSM1J-gEPT5Ese6hmHSh0mQ.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/L0xTDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vrtSM1J-gEPT5Ese6hmHSt0mf0h.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/L0xTDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vrtSM1J-gEPT5Ese6hmHSx0mf0h.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/L0xdDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrlnAIe2Imhk1T8rbociImtElOUlYIw.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/L0xdDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrlnAIe2Imhk1T8rbociImtEleUlYIw.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/L0xdDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrlnAIe2Imhk1T8rbociImtEluUlYIw.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/L0xdDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrlnAIe2Imhk1T8rbociImtEm-Ul.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/L0xdDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrlnAIe2Imhk1T8rbociImtEmOUlYIw.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts/L0xdDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrlnAIe2Imhk1T8rbociImtEn-UlYIw.woff2 +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/fonts.css +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/stylesheets/readme.txt +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/docs/yarr.md +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/mkdocs.yml +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/pyproject.toml +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/__init__.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/chip_config_api.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/cli/__init__.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/cli/__main__.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/cli/assign_tag.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/cli/download_component.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/cli/fetch_reference_ivs.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/cli/generate_yarr_config.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/cli/get_bom_info.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/cli/get_vfd_info.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/cli/globals.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/cli/influxdbtool_retrieve.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/cli/localdbtool_retrieve.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/cli/localdbtool_upload.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/cli/main.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/cli/pull_component.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/cli/recycle_analysis.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/cli/recycle_esummary.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/cli/register_component.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/cli/review_component.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/cli/sync_component_stages.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/cli/upload_measurement.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/cli/utils.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/data/YARR/chip_template.json +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/data/YARR/default_chip_config.json +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/data/componentConfigs.json +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/db/__init__.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/db/local.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/db/ls.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/db/prod.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/db/show_qc_pipeline.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/db/show_qc_status.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/db/show_test.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/db/upload_test.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/exceptions.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/iv/__init__.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/iv/localdb.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/iv/proddb.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/models.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/recycle.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/review/__init__.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/review/checks.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/review/helpers.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/sync_component_stages/__init__.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/typing_compat.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/yarr/README.md +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/yarr/__init__.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/yarr/common.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/yarr/configs/influxdb_connectivity.json +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/yarr/db_logging.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/yarr/direct.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/yarr/indirect.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/yarr/localdb.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/yarr/login_mongodb.sh +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/yarr/register.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/yarr/setting/default/database.json +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/yarr/setting/default/dcs.dat +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/yarr/setting/default/dcs_info.json +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/yarr/setting/default/register_component_fei4b.json +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/yarr/setting/default/register_component_rd53a.json +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/yarr/setting/default/site.json +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/yarr/setting/default/user.json +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/yarr/setting/requirements-pip.txt +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/yarr/setting/requirements-yum.txt +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/src/module_qc_database_tools/yarr/setup_db.sh +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/tests/test_cli.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/tests/test_config_api.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/tests/test_iv.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/tests/test_package.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/tests/test_review_cdr_cp.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/tests/test_set_cdr_cp.py +0 -0
- {module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/tests/test_utils.py +0 -0
|
@@ -139,7 +139,7 @@ deploy_docs_dev:
|
|
|
139
139
|
script:
|
|
140
140
|
# the next three lines are just to commit and push pages to the project
|
|
141
141
|
- git config --global user.email
|
|
142
|
-
"
|
|
142
|
+
"project_147357_bot_3ed8f3d026cec38f60f440ecc0619f08@noreply.gitlab.cern.ch"
|
|
143
143
|
- git config --global user.name "pre-commit-ci"
|
|
144
144
|
- git remote set-url origin
|
|
145
145
|
"https://__pre-commit_ci_token:${PRE_COMMIT_CI_JOB_TOKEN}@${CI_SERVER_HOST}:${CI_SERVER_PORT}/${CI_PROJECT_PATH}.git"
|
|
@@ -154,7 +154,7 @@ deploy_docs_latest:
|
|
|
154
154
|
script:
|
|
155
155
|
# the next three lines are just to commit and push pages to the project
|
|
156
156
|
- git config --global user.email
|
|
157
|
-
"
|
|
157
|
+
"project_147357_bot_3ed8f3d026cec38f60f440ecc0619f08@noreply.gitlab.cern.ch"
|
|
158
158
|
- git config --global user.name "pre-commit-ci"
|
|
159
159
|
- git remote set-url origin
|
|
160
160
|
"https://__pre-commit_ci_token:${PRE_COMMIT_CI_JOB_TOKEN}@${CI_SERVER_HOST}:${CI_SERVER_PORT}/${CI_PROJECT_PATH}.git"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"description": " general python tool for interfacing with databases during module QC tests for the ATLAS ITk project",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"title": "atlas-itk-pixel-modules/mqdbt: v2.12.
|
|
5
|
-
"version": "v2.12.
|
|
4
|
+
"title": "atlas-itk-pixel-modules/mqdbt: v2.12.2",
|
|
5
|
+
"version": "v2.12.2",
|
|
6
6
|
"upload_type": "software",
|
|
7
7
|
"creators": [
|
|
8
8
|
{
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"related_identifiers": [
|
|
81
81
|
{
|
|
82
82
|
"scheme": "url",
|
|
83
|
-
"identifier": "https://gitlab.cern.ch/atlas-itk/pixel/module/module-qc-database-tools/-/tree/v2.12.
|
|
83
|
+
"identifier": "https://gitlab.cern.ch/atlas-itk/pixel/module/module-qc-database-tools/-/tree/v2.12.2",
|
|
84
84
|
"relation": "isSupplementTo"
|
|
85
85
|
}
|
|
86
86
|
]
|
|
@@ -54,6 +54,6 @@ keywords:
|
|
|
54
54
|
license:
|
|
55
55
|
- mit
|
|
56
56
|
message: If you use this software, please cite it using the metadata from this file.
|
|
57
|
-
title: 'atlas-itk-pixel-modules/mqdbt: v2.12.
|
|
57
|
+
title: 'atlas-itk-pixel-modules/mqdbt: v2.12.2'
|
|
58
58
|
type: software
|
|
59
|
-
version: v2.12.
|
|
59
|
+
version: v2.12.2
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: module-qc-database-tools
|
|
3
|
-
Version: 2.12.
|
|
3
|
+
Version: 2.12.2
|
|
4
4
|
Summary: Python wrapper to interface with LocalDB and Production DB for common tasks for pixel modules.
|
|
5
5
|
Project-URL: Homepage, https://gitlab.cern.ch/atlas-itk/pixel/module/module-qc-database-tools
|
|
6
6
|
Project-URL: Bug Tracker, https://gitlab.cern.ch/atlas-itk/pixel/module/module-qc-database-tools/issues
|
|
@@ -63,7 +63,7 @@ Requires-Dist: typing-extensions>=4.0; python_version < '3.10'
|
|
|
63
63
|
Requires-Dist: urllib3<2,>=1.26.20; 'el7.x86_64' in platform_release
|
|
64
64
|
Description-Content-Type: text/markdown
|
|
65
65
|
|
|
66
|
-
# Module QC Database Tools v2.12.
|
|
66
|
+
# Module QC Database Tools v2.12.2
|
|
67
67
|
|
|
68
68
|
The package to regisiter ITkPixV1.1 modules, and generate YARR configs from ITk
|
|
69
69
|
production database using `itkdb` API.
|
{module_qc_database_tools-2.12.1rc0 → module_qc_database_tools-2.12.2}/ci/pre-commit-update.sh
RENAMED
|
@@ -7,7 +7,7 @@ git diff --quiet -- .pre-commit-config.yaml && git diff --staged --quiet -- .pre
|
|
|
7
7
|
if [[ ${exit_code} -ne 0 ]]; then
|
|
8
8
|
PRE_COMMIT_CI_BRANCH="pre-commit-ci-update-config-$(date +'%Y%m%d')"
|
|
9
9
|
|
|
10
|
-
git config --global user.email "
|
|
10
|
+
git config --global user.email "project_147357_bot_3ed8f3d026cec38f60f440ecc0619f08@noreply.gitlab.cern.ch"
|
|
11
11
|
git config --global user.name "GitLab CI"
|
|
12
12
|
git remote set-url origin "https://__pre-commit_ci_token:${PRE_COMMIT_CI_JOB_TOKEN}@${CI_SERVER_HOST}:${CI_SERVER_PORT}/${CI_PROJECT_PATH}.git"
|
|
13
13
|
git remote -v
|
|
@@ -12,6 +12,41 @@ and this project adheres to
|
|
|
12
12
|
|
|
13
13
|
**_Changed:_**
|
|
14
14
|
|
|
15
|
+
**_Added:_**
|
|
16
|
+
|
|
17
|
+
**_Fixed:_**
|
|
18
|
+
|
|
19
|
+
## [2.12.2](https://gitlab.cern.ch/atlas-itk/pixel/module/module-qc-database-tools/-/tags/v2.12.2) - 2026-12-01 ## {: #mqdbt-v2.12.2 }
|
|
20
|
+
|
|
21
|
+
**_Added:_**
|
|
22
|
+
|
|
23
|
+
- Set `Parameter.ImuxGndOffset` (Vmux30 − Imux63, mV) in generated chip configs
|
|
24
|
+
per layer and temperature: L2 2.4/2.1, L1 2.9/2.5, L0 (incl. R0, R0.5) 3.9/3.3
|
|
25
|
+
warm/cold, LP configs warm; used by YARR for Imux readings through the chip
|
|
26
|
+
ADC (needs YARR with !1258) (#77, !179)
|
|
27
|
+
|
|
28
|
+
**_Fixed:_**
|
|
29
|
+
|
|
30
|
+
- Fix `generate_yarr_config` when latest config is data-merging, allows to
|
|
31
|
+
generate any type of (non-)data-merging-configs (1-to-1, 2-to-1, 4-to-1) from
|
|
32
|
+
any (non-)data-merging-modes (!177)
|
|
33
|
+
|
|
34
|
+
## [2.12.1](https://gitlab.cern.ch/atlas-itk/pixel/module/module-qc-database-tools/-/tags/v2.12.1) - 2026-10-14 ## {: #mqdbt-v2.12.1 }
|
|
35
|
+
|
|
36
|
+
**_Changed:_**
|
|
37
|
+
|
|
38
|
+
- require `module-qc-data-tools` >= 1.7.2, which defines the expected `CdrCp`
|
|
39
|
+
value (!171)
|
|
40
|
+
- `run-full-qc` enables all core columns by default when clearing the chip
|
|
41
|
+
configs; `--no-enable-all-cc` keeps the core column settings of the chip
|
|
42
|
+
configs (needs YARR v1.6.4) (!173)
|
|
43
|
+
- `run-full-qc` runs the core column scan after clearing the chip configs, so
|
|
44
|
+
the pixels of bad core columns are masked again, instead of at the start of
|
|
45
|
+
the calibrations (!173, !174)
|
|
46
|
+
- `run-full-qc` runs a throwaway digital scan at the start of the minimum health
|
|
47
|
+
test (!174)
|
|
48
|
+
- `run-full-qc` uploads all YARR scans to LocalDB (`scanConsole -W`), the
|
|
49
|
+
throwaway digital scans and the core column scans without a tag (!174)
|
|
15
50
|
- Always set `CdrCp` to 80 in generated ITkPix v2 chip configs, independent of
|
|
16
51
|
the YARR default (!171)
|
|
17
52
|
|
|
@@ -26,11 +61,9 @@ and this project adheres to
|
|
|
26
61
|
(!171)
|
|
27
62
|
- `--enable-all-cc` option for `run-full-qc` to enable all core columns when
|
|
28
63
|
clearing the chip configs (needs YARR v1.6.4) (!171)
|
|
29
|
-
- `run-full-qc` clears the chip configs before the
|
|
30
|
-
|
|
31
|
-
(!171)
|
|
32
|
-
|
|
33
|
-
**_Fixed:_**
|
|
64
|
+
- `run-full-qc` clears the chip configs before the calibrations (or before the
|
|
65
|
+
minimum health test if the calibrations are not run) instead of before tuning,
|
|
66
|
+
after a throwaway digital scan (!171, !174)
|
|
34
67
|
|
|
35
68
|
## [2.12.0](https://gitlab.cern.ch/atlas-itk/pixel/module/module-qc-database-tools/-/tags/v2.12.0) - 2026-07-21 ## {: #mqdbt-v2.12.0 }
|
|
36
69
|
|
|
@@ -90,7 +90,7 @@ package.
|
|
|
90
90
|
$ python -m venv venv
|
|
91
91
|
$ source venv/bin/activate
|
|
92
92
|
$ python -m pip install -U pip
|
|
93
|
-
$ python -m pip install -U pip module-qc-database-tools==2.12.
|
|
93
|
+
$ python -m pip install -U pip module-qc-database-tools==2.12.2
|
|
94
94
|
```
|
|
95
95
|
|
|
96
96
|
### via uv
|
|
@@ -99,7 +99,7 @@ $ python -m pip install -U pip module-qc-database-tools==2.12.1rc0
|
|
|
99
99
|
$ python -m venv venv
|
|
100
100
|
$ source venv/bin/activate
|
|
101
101
|
$ python -m pip install uv
|
|
102
|
-
$ uv pip install module-qc-database-tools==2.12.
|
|
102
|
+
$ uv pip install module-qc-database-tools==2.12.2
|
|
103
103
|
```
|
|
104
104
|
|
|
105
105
|
# Usage
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '2.12.
|
|
22
|
-
__version_tuple__ = version_tuple = (2, 12,
|
|
21
|
+
__version__ = version = '2.12.2'
|
|
22
|
+
__version_tuple__ = version_tuple = (2, 12, 2)
|
|
23
23
|
|
|
24
24
|
__commit_id__ = commit_id = None
|
|
@@ -82,7 +82,7 @@ class FullQCConf:
|
|
|
82
82
|
self.LDBPORT = 5000
|
|
83
83
|
self.PROTOCOL = "http"
|
|
84
84
|
self.TAGS = []
|
|
85
|
-
self.ENABLE_ALL_CC =
|
|
85
|
+
self.ENABLE_ALL_CC = True
|
|
86
86
|
|
|
87
87
|
## fixed
|
|
88
88
|
## will be overwritten from HW config
|
|
@@ -203,10 +203,11 @@ class FullQCConf:
|
|
|
203
203
|
|
|
204
204
|
return 0
|
|
205
205
|
|
|
206
|
-
def run_scan(self, scan_name, scan_output, tag=
|
|
206
|
+
def run_scan(self, scan_name, scan_output, tag=""):
|
|
207
207
|
"""
|
|
208
208
|
Function to concatenate commands and run YARR scan.
|
|
209
|
-
The scan is uploaded to LocalDB with the given tag
|
|
209
|
+
The scan is always uploaded to LocalDB (scanConsole -W), with the given tag, or
|
|
210
|
+
without a tag if it is empty.
|
|
210
211
|
"""
|
|
211
212
|
cmd = [
|
|
212
213
|
"./bin/scanConsole",
|
|
@@ -217,8 +218,8 @@ class FullQCConf:
|
|
|
217
218
|
"-o",
|
|
218
219
|
str(scan_output),
|
|
219
220
|
]
|
|
220
|
-
|
|
221
|
-
|
|
221
|
+
# -W needs a value; with an empty tag YARR uploads the scan without a tag
|
|
222
|
+
cmd.extend(["-W", tag or ""])
|
|
222
223
|
cmd.append("-s")
|
|
223
224
|
## this is needed, otherwise YARR error due to not able to find scan config file e.g. "std_totscan.json -t 6000"
|
|
224
225
|
cmd.extend(
|
|
@@ -236,31 +237,10 @@ class FullQCConf:
|
|
|
236
237
|
def cal(self):
|
|
237
238
|
"""
|
|
238
239
|
Function to only run simple calibration non-YARR scans.
|
|
240
|
+
Runs after reset_chip_config(), which ends with the core column scan.
|
|
239
241
|
"""
|
|
240
242
|
logger.info("Running simple (calibration) scans...")
|
|
241
243
|
|
|
242
|
-
# # Run core column scan and save it
|
|
243
|
-
scan_output = self.OUTPUT / "data"
|
|
244
|
-
scan_output.mkdir(parents=True, exist_ok=True)
|
|
245
|
-
try:
|
|
246
|
-
subprocess.run(
|
|
247
|
-
[
|
|
248
|
-
"./bin/scanConsole",
|
|
249
|
-
"-r",
|
|
250
|
-
str(self.CONTROLLER),
|
|
251
|
-
"-c",
|
|
252
|
-
str(self.CONNECTIVITY),
|
|
253
|
-
"-o",
|
|
254
|
-
str(scan_output),
|
|
255
|
-
"-s",
|
|
256
|
-
f"{self.YARR}/configs/scans/{self.CHIPTYPE}/corecolumnscan.json",
|
|
257
|
-
],
|
|
258
|
-
cwd=self.YARR,
|
|
259
|
-
check=True,
|
|
260
|
-
)
|
|
261
|
-
except Exception as e: # pylint: disable=broad-exception-caught
|
|
262
|
-
logger.error("Unable to run core column scan: %s", e)
|
|
263
|
-
|
|
264
244
|
# Perform QC measurements
|
|
265
245
|
measurements = [
|
|
266
246
|
"ADC-CALIBRATION",
|
|
@@ -276,12 +256,26 @@ class FullQCConf:
|
|
|
276
256
|
self.measure(meas)
|
|
277
257
|
return 0
|
|
278
258
|
|
|
259
|
+
def throwaway_digitalscan(self):
|
|
260
|
+
"""
|
|
261
|
+
Runs a throwaway digital scan (uploaded to LocalDB without a tag).
|
|
262
|
+
"""
|
|
263
|
+
throwaway_output = self.OUTPUT / "throwaway"
|
|
264
|
+
throwaway_output.mkdir(parents=True, exist_ok=True)
|
|
265
|
+
logger.info("Running throwaway digital scan (no tag): %s", throwaway_output)
|
|
266
|
+
self.run_scan("std_digitalscan.json", throwaway_output)
|
|
267
|
+
|
|
279
268
|
def reset_chip_config(self):
|
|
280
269
|
"""
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
270
|
+
Runs a throwaway digital scan (uploaded to LocalDB without a tag), then resets any
|
|
271
|
+
previous tuning in the chip configs (YARR scripts/clear_chip_config.py, with
|
|
272
|
+
--enable-all-cc unless disabled), and runs a core column scan that masks the
|
|
273
|
+
pixels of bad core columns again.
|
|
274
|
+
Runs before the calibrations, or before the minimum health test if the
|
|
275
|
+
calibrations are not run.
|
|
284
276
|
"""
|
|
277
|
+
self.throwaway_digitalscan()
|
|
278
|
+
|
|
285
279
|
clear_cmd = [
|
|
286
280
|
sys.executable, ## A string giving the absolute path of the executable binary for the Python interpreter
|
|
287
281
|
"scripts/clear_chip_config.py",
|
|
@@ -296,24 +290,29 @@ class FullQCConf:
|
|
|
296
290
|
check=True,
|
|
297
291
|
)
|
|
298
292
|
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
293
|
+
# Run core column scan and save it
|
|
294
|
+
scan_output = self.OUTPUT / "data"
|
|
295
|
+
scan_output.mkdir(parents=True, exist_ok=True)
|
|
296
|
+
logger.info("Running core column scan: %s", scan_output)
|
|
297
|
+
try:
|
|
298
|
+
self.run_scan("corecolumnscan.json", scan_output)
|
|
299
|
+
except Exception as e: # pylint: disable=broad-exception-caught
|
|
300
|
+
logger.error("Unable to run core column scan: %s", e)
|
|
305
301
|
|
|
306
302
|
return 0
|
|
307
303
|
|
|
308
304
|
def mht(self):
|
|
309
305
|
"""
|
|
310
|
-
Runs all YARR scans in a Minimum Health Test and
|
|
306
|
+
Runs a throwaway digital scan, then all YARR scans in a Minimum Health Test and
|
|
307
|
+
tags all scans with MHT
|
|
311
308
|
"""
|
|
312
309
|
# Yarr-related Scans
|
|
313
310
|
scan_output = self.OUTPUT / "data"
|
|
314
311
|
scan_output.mkdir(parents=True, exist_ok=True)
|
|
315
312
|
|
|
316
313
|
logger.info("Scan output directory: %s", scan_output)
|
|
314
|
+
self.throwaway_digitalscan()
|
|
315
|
+
|
|
317
316
|
logger.info("Running minimum health test...")
|
|
318
317
|
scans = [
|
|
319
318
|
"std_digitalscan.json",
|
|
@@ -483,9 +482,9 @@ def main(
|
|
|
483
482
|
help="Run scans required for Pixel Failure Analysis.",
|
|
484
483
|
),
|
|
485
484
|
enable_all_cc: bool = typer.Option(
|
|
486
|
-
|
|
487
|
-
"--enable-all-cc",
|
|
488
|
-
help="Enable all core columns when clearing the chip configs before the minimum health test (YARR scripts/clear_chip_config.py --enable-all-cc, YARR >= v1.6.4).",
|
|
485
|
+
True,
|
|
486
|
+
"--enable-all-cc/--no-enable-all-cc",
|
|
487
|
+
help="Enable all core columns when clearing the chip configs before the minimum health test (YARR scripts/clear_chip_config.py --enable-all-cc, YARR >= v1.6.4). Use --no-enable-all-cc to keep the core column settings of the chip configs.",
|
|
489
488
|
),
|
|
490
489
|
# dry_run: bool = OPTIONS["dry_run"],
|
|
491
490
|
# _verbosity: LogLevel = OPTIONS["verbosity"]
|
|
@@ -592,13 +591,14 @@ def main(
|
|
|
592
591
|
cwd=qc.YARR,
|
|
593
592
|
check=True,
|
|
594
593
|
)
|
|
595
|
-
qc.cal()
|
|
596
594
|
qc.reset_chip_config()
|
|
595
|
+
qc.cal()
|
|
597
596
|
qc.mht()
|
|
598
597
|
qc.tun()
|
|
599
598
|
qc.pfa()
|
|
600
599
|
logger.info("Script completed successfully.")
|
|
601
600
|
else:
|
|
601
|
+
chip_config_reset = False
|
|
602
602
|
for _index, item in enumerate(_tests):
|
|
603
603
|
# Run eye diagram only if the test is not IV
|
|
604
604
|
if item != "iv":
|
|
@@ -622,8 +622,10 @@ def main(
|
|
|
622
622
|
"%s is a digital module, will not run IV.", qc.MODULESN
|
|
623
623
|
)
|
|
624
624
|
continue
|
|
625
|
-
|
|
625
|
+
# reset the chip configs once, before the calibrations or the minimum health test
|
|
626
|
+
if item in ("cal", "mht") and not chip_config_reset:
|
|
626
627
|
qc.reset_chip_config()
|
|
628
|
+
chip_config_reset = True
|
|
627
629
|
exec(f"qc.{item}()") # pylint: disable=exec-used
|
|
628
630
|
|
|
629
631
|
|
|
@@ -52,6 +52,58 @@ def set_cdr_cp(chip_config, chip_name, chip_type):
|
|
|
52
52
|
global_config["CdrCp"] = CDR_CP
|
|
53
53
|
|
|
54
54
|
|
|
55
|
+
# Parameter.ImuxGndOffset (mV): Vmux30 - Imux63, added by YARR to Imux readings
|
|
56
|
+
# through the chip ADC (--use-calib-adc), whose ground is never read. Medians of
|
|
57
|
+
# PDB ANALOG_READBACK data per layer, warm (INITIAL_/FINAL_WARM) and cold
|
|
58
|
+
# (FINAL_COLD) (mqdbt#77).
|
|
59
|
+
IMUX_GND_OFFSET = {
|
|
60
|
+
"L0": {"warm": 3.9, "cold": 3.3},
|
|
61
|
+
"L1": {"warm": 2.9, "cold": 2.5},
|
|
62
|
+
"L2": {"warm": 2.4, "cold": 2.1},
|
|
63
|
+
}
|
|
64
|
+
# R0 and R0.5 triplets have the same offset as L0 staves; LP configs are warm.
|
|
65
|
+
IMUX_GND_OFFSET_LAYER = {"R0": "L0", "R0.5": "L0"}
|
|
66
|
+
IMUX_GND_OFFSET_MODE = {"LP": "warm"}
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
def get_imux_gnd_offset(layer_config, suffix):
|
|
70
|
+
"""
|
|
71
|
+
ImuxGndOffset (mV) for a layer config (L0, R0, R0.5, L1, L2) and config
|
|
72
|
+
suffix (warm, cold, LP, optionally with data merging, e.g. warm_4-to-1).
|
|
73
|
+
Returns None if there is no value for them.
|
|
74
|
+
"""
|
|
75
|
+
layer = IMUX_GND_OFFSET_LAYER.get(layer_config, layer_config)
|
|
76
|
+
mode = (suffix or "").split("_")[0]
|
|
77
|
+
mode = IMUX_GND_OFFSET_MODE.get(mode, mode)
|
|
78
|
+
return IMUX_GND_OFFSET.get(layer, {}).get(mode)
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
def set_imux_gnd_offset(chip_config, chip_name, layer_config, suffix):
|
|
82
|
+
"""
|
|
83
|
+
Set Parameter.ImuxGndOffset in the chip config for the layer and the
|
|
84
|
+
temperature (warm/cold) of the config. Configs without a known value are
|
|
85
|
+
left unchanged (YARR then uses its default, the L2 warm value).
|
|
86
|
+
"""
|
|
87
|
+
offset = get_imux_gnd_offset(layer_config, suffix)
|
|
88
|
+
if offset is None:
|
|
89
|
+
log.warning(
|
|
90
|
+
"No ImuxGndOffset known for layer %s and config %s, leaving it unchanged for chip %s.",
|
|
91
|
+
layer_config,
|
|
92
|
+
suffix,
|
|
93
|
+
chip_name,
|
|
94
|
+
)
|
|
95
|
+
return
|
|
96
|
+
parameter = chip_config.setdefault("Parameter", {})
|
|
97
|
+
if parameter.get("ImuxGndOffset") != offset:
|
|
98
|
+
log.info(
|
|
99
|
+
"Setting ImuxGndOffset for chip %s from %s to %s mV.",
|
|
100
|
+
chip_name,
|
|
101
|
+
parameter.get("ImuxGndOffset", "YARR default"),
|
|
102
|
+
offset,
|
|
103
|
+
)
|
|
104
|
+
parameter["ImuxGndOffset"] = offset
|
|
105
|
+
|
|
106
|
+
|
|
55
107
|
class Module:
|
|
56
108
|
"""
|
|
57
109
|
Module class. Also works with bare module and FE chip.
|
|
@@ -499,7 +551,7 @@ class Chip:
|
|
|
499
551
|
1280: 0,
|
|
500
552
|
640: 1,
|
|
501
553
|
320: 2,
|
|
502
|
-
160:
|
|
554
|
+
160: 3,
|
|
503
555
|
}[speed]
|
|
504
556
|
except KeyError as err:
|
|
505
557
|
log.error(
|
|
@@ -714,8 +766,35 @@ class Chip:
|
|
|
714
766
|
msg = f"Not able to generate config for chip {self.uid}. Chip configs might not be complete."
|
|
715
767
|
raise RuntimeError(msg)
|
|
716
768
|
|
|
769
|
+
# always start quads from regular readout (also undoes data merging settings
|
|
770
|
+
# of a latest config); the data merging block below re-applies them if requested
|
|
771
|
+
if module_type == "quad":
|
|
772
|
+
chip_template[chip_type]["GlobalConfig"]["AuroraActiveLanes"] = 1
|
|
773
|
+
for index in range(4):
|
|
774
|
+
chip_template[chip_type]["GlobalConfig"][f"DataMergeOutMux{index}"] = (
|
|
775
|
+
[2, 0, 1, 0][chip_index] + index
|
|
776
|
+
) % 4
|
|
777
|
+
# Enable all drivers
|
|
778
|
+
chip_template[chip_type]["GlobalConfig"]["SerEnLane"] = 15
|
|
779
|
+
# Stop datatransmission, end constant 0 on unused links
|
|
780
|
+
for index in range(4):
|
|
781
|
+
chip_template[chip_type]["GlobalConfig"][f"SerSelOut{index}"] = (
|
|
782
|
+
1 if ((4 - [2, 0, 1, 0][chip_index]) % 4) == index else 3
|
|
783
|
+
)
|
|
784
|
+
chip_template[chip_type]["GlobalConfig"]["AuroraInitWait"] = 0
|
|
785
|
+
chip_template[chip_type]["GlobalConfig"]["EnChipId"] = 0
|
|
786
|
+
chip_template[chip_type]["GlobalConfig"]["DataMergeEn"] = 0
|
|
787
|
+
chip_template[chip_type]["GlobalConfig"]["DataMergeEnBond"] = 0
|
|
788
|
+
chip_template[chip_type]["GlobalConfig"]["CmlBias0"] = 800
|
|
789
|
+
chip_template[chip_type]["GlobalConfig"]["CmlBias1"] = 400
|
|
790
|
+
chip_template[chip_type]["GlobalConfig"]["SerEnTap"] = 1
|
|
791
|
+
chip_template[chip_type]["GlobalConfig"]["SerInvTap"] = 1
|
|
792
|
+
|
|
717
793
|
if chip_type in chip_template:
|
|
718
794
|
set_cdr_cp(chip_template[chip_type], self.uid, chip_type)
|
|
795
|
+
set_imux_gnd_offset(
|
|
796
|
+
chip_template[chip_type], self.uid, layer_config, suffix
|
|
797
|
+
)
|
|
719
798
|
|
|
720
799
|
if felix and module_type == "quad":
|
|
721
800
|
chip_template[chip_type]["GlobalConfig"]["CmlBias0"] = 800
|
|
@@ -1034,6 +1113,7 @@ class LocalModule:
|
|
|
1034
1113
|
current_revision_id = str(config_info.get("current_revision_id"))
|
|
1035
1114
|
config = config_api.get_config(config_id, current_revision_id, True)
|
|
1036
1115
|
set_cdr_cp(config[self.chip_type], chip, self.chip_type)
|
|
1116
|
+
set_imux_gnd_offset(config[self.chip_type], chip, layer_config, suffix)
|
|
1037
1117
|
configs["chips"].append(config)
|
|
1038
1118
|
|
|
1039
1119
|
# relative path: e.g. L2_warm/0x15499_L2_warm.json
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
[version]
|
|
2
|
-
current = "2.12.
|
|
2
|
+
current = "2.12.2"
|
|
3
3
|
|
|
4
4
|
# Example of a semver regexp.
|
|
5
5
|
# Make sure this matches current_version before
|
|
@@ -17,7 +17,7 @@ regex = '''
|
|
|
17
17
|
|
|
18
18
|
[git]
|
|
19
19
|
# The current version will get updated when tbump is run
|
|
20
|
-
message_template = "Bump version: 2.12.
|
|
20
|
+
message_template = "Bump version: 2.12.2 → {new_version}"
|
|
21
21
|
tag_template = "v{new_version}"
|
|
22
22
|
|
|
23
23
|
# For each file to patch, add a [[file]] config
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ITKPIXV2": {
|
|
3
|
+
"GlobalConfig": {
|
|
4
|
+
"AuroraActiveLanes": 1,
|
|
5
|
+
"AuroraInitWait": 0,
|
|
6
|
+
"CdrClkSel": 0,
|
|
7
|
+
"CdrCp": 80,
|
|
8
|
+
"CmlBias0": 800,
|
|
9
|
+
"CmlBias1": 400,
|
|
10
|
+
"DataMergeEn": 0,
|
|
11
|
+
"DataMergeEnBond": 0,
|
|
12
|
+
"DataMergeOutMux0": 1,
|
|
13
|
+
"DataMergeOutMux1": 2,
|
|
14
|
+
"DataMergeOutMux2": 3,
|
|
15
|
+
"DataMergeOutMux3": 0,
|
|
16
|
+
"DiffTh1L": 259,
|
|
17
|
+
"DiffTh1M": 259,
|
|
18
|
+
"DiffTh1R": 259,
|
|
19
|
+
"EnChipId": 0,
|
|
20
|
+
"InjVcalHigh": 859,
|
|
21
|
+
"SerEnLane": 15,
|
|
22
|
+
"SerEnTap": 1,
|
|
23
|
+
"SerInvTap": 1,
|
|
24
|
+
"SerSelOut0": 3,
|
|
25
|
+
"SerSelOut1": 3,
|
|
26
|
+
"SerSelOut2": 3,
|
|
27
|
+
"SerSelOut3": 1,
|
|
28
|
+
"ServiceBlockEn": 1
|
|
29
|
+
},
|
|
30
|
+
"Parameter": {
|
|
31
|
+
"ChipId": 14,
|
|
32
|
+
"Name": "0x20c27"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ITKPIXV2": {
|
|
3
|
+
"GlobalConfig": {
|
|
4
|
+
"AuroraActiveLanes": 3,
|
|
5
|
+
"AuroraInitWait": 0,
|
|
6
|
+
"CdrClkSel": 2,
|
|
7
|
+
"CdrCp": 80,
|
|
8
|
+
"CmlBias0": 500,
|
|
9
|
+
"CmlBias1": 0,
|
|
10
|
+
"DataMergeEn": 0,
|
|
11
|
+
"DataMergeEnBond": 0,
|
|
12
|
+
"DataMergeOutMux0": 1,
|
|
13
|
+
"DataMergeOutMux1": 0,
|
|
14
|
+
"DataMergeOutMux2": 2,
|
|
15
|
+
"DataMergeOutMux3": 3,
|
|
16
|
+
"DiffTh1L": 247,
|
|
17
|
+
"DiffTh1M": 247,
|
|
18
|
+
"DiffTh1R": 247,
|
|
19
|
+
"EnChipId": 1,
|
|
20
|
+
"InjVcalHigh": 847,
|
|
21
|
+
"SerEnLane": 15,
|
|
22
|
+
"SerEnTap": 0,
|
|
23
|
+
"SerInvTap": 0,
|
|
24
|
+
"SerSelOut0": 1,
|
|
25
|
+
"SerSelOut1": 1,
|
|
26
|
+
"SerSelOut2": 3,
|
|
27
|
+
"SerSelOut3": 3,
|
|
28
|
+
"ServiceBlockEn": 1
|
|
29
|
+
},
|
|
30
|
+
"Parameter": {
|
|
31
|
+
"ChipId": 14,
|
|
32
|
+
"Name": "0x20c27"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ITKPIXV2": {
|
|
3
|
+
"GlobalConfig": {
|
|
4
|
+
"AuroraActiveLanes": 1,
|
|
5
|
+
"AuroraInitWait": 0,
|
|
6
|
+
"CdrClkSel": 2,
|
|
7
|
+
"CdrCp": 80,
|
|
8
|
+
"CmlBias0": 500,
|
|
9
|
+
"CmlBias1": 0,
|
|
10
|
+
"DataMergeEn": 0,
|
|
11
|
+
"DataMergeEnBond": 0,
|
|
12
|
+
"DataMergeOutMux0": 2,
|
|
13
|
+
"DataMergeOutMux1": 3,
|
|
14
|
+
"DataMergeOutMux2": 0,
|
|
15
|
+
"DataMergeOutMux3": 1,
|
|
16
|
+
"DiffTh1L": 240,
|
|
17
|
+
"DiffTh1M": 240,
|
|
18
|
+
"DiffTh1R": 240,
|
|
19
|
+
"EnChipId": 1,
|
|
20
|
+
"InjVcalHigh": 840,
|
|
21
|
+
"SerEnLane": 15,
|
|
22
|
+
"SerEnTap": 0,
|
|
23
|
+
"SerInvTap": 0,
|
|
24
|
+
"SerSelOut0": 3,
|
|
25
|
+
"SerSelOut1": 3,
|
|
26
|
+
"SerSelOut2": 1,
|
|
27
|
+
"SerSelOut3": 3,
|
|
28
|
+
"ServiceBlockEn": 1
|
|
29
|
+
},
|
|
30
|
+
"Parameter": {
|
|
31
|
+
"ChipId": 14,
|
|
32
|
+
"Name": "0x20c27"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ITKPIXV2": {
|
|
3
|
+
"GlobalConfig": {
|
|
4
|
+
"AuroraActiveLanes": 1,
|
|
5
|
+
"AuroraInitWait": 0,
|
|
6
|
+
"CdrClkSel": 0,
|
|
7
|
+
"CdrCp": 80,
|
|
8
|
+
"CmlBias0": 800,
|
|
9
|
+
"CmlBias1": 400,
|
|
10
|
+
"DataMergeEn": 0,
|
|
11
|
+
"DataMergeEnBond": 0,
|
|
12
|
+
"DataMergeOutMux0": 0,
|
|
13
|
+
"DataMergeOutMux1": 1,
|
|
14
|
+
"DataMergeOutMux2": 2,
|
|
15
|
+
"DataMergeOutMux3": 3,
|
|
16
|
+
"DiffTh1L": 259,
|
|
17
|
+
"DiffTh1M": 259,
|
|
18
|
+
"DiffTh1R": 259,
|
|
19
|
+
"EnChipId": 0,
|
|
20
|
+
"InjVcalHigh": 859,
|
|
21
|
+
"SerEnLane": 15,
|
|
22
|
+
"SerEnTap": 1,
|
|
23
|
+
"SerInvTap": 1,
|
|
24
|
+
"SerSelOut0": 1,
|
|
25
|
+
"SerSelOut1": 3,
|
|
26
|
+
"SerSelOut2": 3,
|
|
27
|
+
"SerSelOut3": 3,
|
|
28
|
+
"ServiceBlockEn": 1
|
|
29
|
+
},
|
|
30
|
+
"Parameter": {
|
|
31
|
+
"ChipId": 13,
|
|
32
|
+
"Name": "0x20c28"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ITKPIXV2": {
|
|
3
|
+
"GlobalConfig": {
|
|
4
|
+
"AuroraActiveLanes": 1,
|
|
5
|
+
"AuroraInitWait": 0,
|
|
6
|
+
"CdrClkSel": 0,
|
|
7
|
+
"CdrCp": 80,
|
|
8
|
+
"CmlBias0": 800,
|
|
9
|
+
"CmlBias1": 400,
|
|
10
|
+
"DataMergeEn": 0,
|
|
11
|
+
"DataMergeEnBond": 1,
|
|
12
|
+
"DataMergeOutMux0": 0,
|
|
13
|
+
"DataMergeOutMux1": 1,
|
|
14
|
+
"DataMergeOutMux2": 2,
|
|
15
|
+
"DataMergeOutMux3": 3,
|
|
16
|
+
"DiffTh1L": 247,
|
|
17
|
+
"DiffTh1M": 247,
|
|
18
|
+
"DiffTh1R": 247,
|
|
19
|
+
"EnChipId": 1,
|
|
20
|
+
"InjVcalHigh": 847,
|
|
21
|
+
"SerEnLane": 15,
|
|
22
|
+
"SerEnTap": 1,
|
|
23
|
+
"SerInvTap": 1,
|
|
24
|
+
"SerSelOut0": 1,
|
|
25
|
+
"SerSelOut1": 3,
|
|
26
|
+
"SerSelOut2": 3,
|
|
27
|
+
"SerSelOut3": 3,
|
|
28
|
+
"ServiceBlockEn": 1
|
|
29
|
+
},
|
|
30
|
+
"Parameter": {
|
|
31
|
+
"ChipId": 13,
|
|
32
|
+
"Name": "0x20c28"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|