Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Referencing git hash in nextflow #5

Open
nkrumm opened this issue Feb 4, 2020 · 0 comments
Open

Referencing git hash in nextflow #5

nkrumm opened this issue Feb 4, 2020 · 0 comments

Comments

@nkrumm
Copy link

nkrumm commented Feb 4, 2020

Take a look at https://www.nextflow.io/docs/latest/metadata.html

println "Git info: $workflow.repository - $workflow.revision [$workflow.commitId]"

I am not sure if those can be referenced in a config file, but at least they could be printed with workflow execution.

We can also consider having batcman slurp up these values automatically and store/display them, since they should be passed back automatically.

relevant code in dada2-nf:

// TODO: version number should contain output of `git describe --tags --dirty`

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

No branches or pull requests

1 participant