Skip to content

Disha/subworkflow test#37

Open
Dishalodha wants to merge 13 commits intomainfrom
disha/subworkflow_test
Open

Disha/subworkflow test#37
Dishalodha wants to merge 13 commits intomainfrom
disha/subworkflow_test

Conversation

@Dishalodha
Copy link
Copy Markdown
Collaborator

@Dishalodha Dishalodha commented May 6, 2026

Here I have

  1. Corrected the sub-workflow test to not rely on the copied files and pass the ci test.
  2. Updated the nf-test version as the tests were failing with the old version.
  3. Updated the url module as the tests were failing because the env couldn't recognise the defined variables.

PS: nf-linting still needs correction.


stub:
def prefix = task.ext.prefix ?: "${meta.accession}"
def accession = meta.accession ?: meta.id ?: "stub"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering if this value should not be passed as meta.id from somewhere else for the testing?


output:
tuple val(meta), env(user), env(host), env(port), env(password), env(database), emit: connection_info
tuple val(meta), env('user'), env('host'), env('port'), env('password'), env('database'), emit: connection_info
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe we have not discussed this, but would like to consider having a line length limit in Nextflow as we do in Python.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should be able to correct this while correcting the linting

Comment thread modules/ensembl/urls/generate/main.nf Outdated
Comment on lines -14 to +15
- ensembl-genomio:genome_metadata_prepare
- ensembl-genomio:schemas_json_validate
- metadata/genomesummary
- schema/json
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain why this change was needed? Just to learn 🤓

Copy link
Copy Markdown
Collaborator Author

@Dishalodha Dishalodha May 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on my search, in subworkflow we want to mention the nextflow modules used as components as 2 is only the minimum number but we could be using more.

Co-authored-by: Jorge Alvarez-Jarreta <jalvarez@ebi.ac.uk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants