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

error with projectDir #138

Closed
skrakau opened this issue Dec 2, 2020 · 4 comments
Closed

error with projectDir #138

skrakau opened this issue Dec 2, 2020 · 4 comments

Comments

@skrakau
Copy link
Member

skrakau commented Dec 2, 2020

Hi,
I pulled the version 1.1.2 and tried to run but getting the error 'No such
variable: projectDir'. is this something I need to provide with the command
options?

Thanks

On Wed, Nov 25, 2020, 2:42 AM Sabrina Krakau [email protected]
wrote:

Hi @ramakrishnas https://github.com/ramakrishnas , yes that would be
great! Let us know if it solves your problems.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#131 (comment), or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGYS55H5TOBYPUOZKL27M3SRS7PNANCNFSM4TT7VLQA
.

Originally posted by @ramakrishnas in #131 (comment)

@d4straub
Copy link
Collaborator

d4straub commented Dec 2, 2020

@ramakrishnas I also tested this and it indeed failed:

nextflow pull nf-core/mag -r 1.1.2
Checking nf-core/mag ...
done - revision: 8c0f1fedf2 [1.1.2]
nextflow run nf-core/mag -r 1.1.2 -profile test,singularity
N E X T F L O W  ~  version 20.04.1
Launching `nf-core/mag` [small_bell] - revision: 8c0f1fedf2 [1.1.2]
No such variable: projectDir -- Check script '/home/daniel/.nextflow/assets/nf-core/mag/main.nf' at line: 134 or see '.nextflow.log' file for more details

but when updating nextflow to the current version (20.10.0), it works:

nextflow -self-update
nextflow run nf-core/mag -r 1.1.2 -profile test,singularity
N E X T F L O W  ~  version 20.10.0
Launching `nf-core/mag` [curious_hamilton] - revision: 8c0f1fedf2 [1.1.2]

--> So I recommend to update your nextflow version.

@apeltzer
Copy link
Member

apeltzer commented Dec 2, 2020

There has been changes internally baseDir <-> projectDir now in one of the latest updates in Nextflow - not finding the discussion on this right now but someone @nf-core/core might know where to look ;-)

@ramakrishnas
Copy link

@skrakau and @d4straub thank you so much, it worked finally!

@d4straub
Copy link
Collaborator

d4straub commented Feb 2, 2021

Alright, than I can close here.

@d4straub d4straub closed this as completed Feb 2, 2021
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

4 participants