In seqinspector, I'm trying to change the default ...
# tools
n
In seqinspector, I'm trying to change the default
fastq_screen_references
value in the json schema If i use "${baseDir}/assets/example_fastq_screen_references.csv" , i get the below error:
Copy code
Config default value incorrect:                             │
│ params.fastq_screen_references is set as                                     │
│ ${baseDir}/assets/example_fastq_screen_references.csv in                     │
│ nextflow_schema.json but is                                                  │
│ /home/runner/work/seqinspector/seqinspector/assets/example_fastq_screen_refe │
│ rences.csv in nextflow.config.
If I use "{baseDir}/assets/example_fastq_screen_references.csv", i get the below error:
Copy code
Config default value incorrect:                             │
│ params.fastq_screen_references is set as                                     │
│ {baseDir}/assets/example_fastq_screen_references.csv in nextflow_schema.json │
│ but is                                                                       │
│ /home/runner/work/seqinspector/seqinspector/assets/example_fastq_screen_refe │
│ rences.csv in nextflow.config.
I have been able to use the baseDir variable in the nextflow.config file but not in the nextflow_schema.json file. Does anyone know how i can use the baseDir variable in the json schema or any suggestion to solve this?
m
🙏 1
n
Sorry i forgot the dollar sign in the first string I wrote. The first error was due to using similar string as you've suggested i.e
Copy code
"default": "${baseDir}/assets/example_fastq_screen_references.csv",
And the error i get is a linting error.
And will replace baseDir with projectDir as suggested.
m
I just ran the lint on rnaseq to see why
$projectDir
didn't raise an error there and it appears it's somehow been added to some ignore list.
Copy code
╭─ [?] 9 Pipeline Tests Ignored ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                                                              │
│ files_exist: File is ignored: conf/modules.config                                                                                                                                            │
│ nextflow_config: Config default ignored: params.ribo_database_manifest                                                                                                                       │
│ files_unchanged: File ignored due to lint config: assets/email_template.html                                                                                                                 │
│ files_unchanged: File ignored due to lint config: assets/email_template.txt                                                                                                                  │
│ files_unchanged: File ignored due to lint config: .gitignore or .prettierignore                                                                                                              │
│ actions_ci: actions_ci                                                                                                                                                                       │
│ actions_awstest: 'awstest.yml' workflow not found: .github/workflows/awstest.yml                                                                                                             │
│ multiqc_config: multiqc_config                                                                                                                                                               │
│ modules_config: modules_config                                                                                                                                                               │
(2nd one)
n
Wonderful! Thank you so much.