Skip to content
New issue

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

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

Already on GitHub? # to your account

Include statement for installed module ends on wrong ` #1640

Closed
FriederikeHanssen opened this issue Jun 17, 2022 · 7 comments
Closed

Include statement for installed module ends on wrong ` #1640

FriederikeHanssen opened this issue Jun 17, 2022 · 7 comments
Assignees
Labels
bug Something isn't working good-first-issue

Comments

@FriederikeHanssen
Copy link
Contributor

FriederikeHanssen commented Jun 17, 2022

Description of the bug

The include statement ends on the wrong quote type , should be ' instead

Command used and terminal output

nf-core modules install mosdepth

 Include statement: include { MOSDEPTH } from '../modules/nf-core/modules/mosdepth/main’

System information

tools version 2.4.1
macos

@FriederikeHanssen FriederikeHanssen added the bug Something isn't working label Jun 17, 2022
@PritamSarbajna
Copy link
Contributor

can someone assign me this issue ?

@ewels
Copy link
Member

ewels commented Jun 21, 2022

can someone assign me this issue ?

Done! You're welcome to assign yourself to issues if you're intending to work on them :)

@PritamSarbajna
Copy link
Contributor

mosdepth

can you please give me a little hint that where to find it ?
@FriederikeHanssen

@PritamSarbajna
Copy link
Contributor

hey @ewels
I think this issue is actually on nf-core/modules

@ewels
Copy link
Member

ewels commented Jun 21, 2022

No, it's here:

log.info(f"Include statement: include {{ {module_name} }} from '.{os.path.join(*install_folder, module)}/main’")

The final character should be a '

@PritamSarbajna
Copy link
Contributor

thank you @ewels really appreciate it as a beginner to opensource. Just want to know after fixing it should I have to update the CHANGELOG.md also ?

@ewels
Copy link
Member

ewels commented Jun 21, 2022

Normally yes, but as this is such a small edit I don't think that there's any need 👍🏻 Please do a fork and then make a pull-request though.

If you like you could also make the statement coloured:

 log.info(f"Include statement: [magenta]include {{ {module_name} }} from '.{os.path.join(*install_folder, module)}/main'")

The logging uses the python Rich library, which is where the [magenta] thing is used: https://rich.readthedocs.io/en/stable/markup.html

@PritamSarbajna PritamSarbajna mentioned this issue Jun 21, 2022
4 tasks
@ewels ewels closed this as completed Jun 23, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working good-first-issue
Projects
None yet
Development

No branches or pull requests

3 participants