Charles Plessy
05/28/2024, 2:42 AMnf-core lint and `pre-commit`… I have a parameter that takes a numerical value between 0 and 1. Its default is 10⁻⁵. If the value is not identical in .nextflow.config and nextflow_schema.json, I get an nf-core lint error. If I represent it as 1e-5 or 0.00001 , then it is changed to 1e-05 by nf-core lint in nextflow_schema.json and I get an error. If I change it to ``1e-05`` in both files, I get a pre-commit error as prettier changes the values in the schema file to be 1e-5. How can I solve that problem?Phil Ewels
05/28/2024, 3:48 AMPhil Ewels
05/28/2024, 3:48 AMPhil Ewels
05/28/2024, 3:49 AMJames Fellows Yates
05/28/2024, 4:04 AMJasmin Frangenberg
05/28/2024, 9:27 AMJames Fellows Yates
05/28/2024, 9:35 AMJasmin Frangenberg
05/28/2024, 9:35 AMJames Fellows Yates
05/28/2024, 9:36 AMmashehu
05/28/2024, 9:57 AMCharles Plessy
05/28/2024, 10:00 AMdev branch now passes both tests with 1E-05 in nextflow.config and 0.00001 / number in nextflow_schema.json.Charles Plessy
05/28/2024, 10:00 AMPhil Ewels
05/28/2024, 10:13 AMmashehu
05/28/2024, 10:18 AMJasmin Frangenberg
05/28/2024, 12:23 PM