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

Fix #85 #475

Merged
merged 15 commits into from
Dec 9, 2019
Merged

Fix #85 #475

merged 15 commits into from
Dec 9, 2019

Conversation

FriederikeHanssen
Copy link
Contributor

@FriederikeHanssen FriederikeHanssen commented Dec 6, 2019

#85

Linting now checks whether the pipeline name only contains lower case & alphabetical characters. Otherwise a warning is displayed.
For that the minimal_working_example was renamed to minimalworkingexample

PR checklist

  • This comment contains a description of changes (with reason)
  • If you've fixed a bug or added code that should be tested, add tests!
  • Documentation in docs is updated
  • CHANGELOG.md is updated
  • README.md is updated

Learn more about contributing: https://github.com/nf-core/tools/tree/master/.github/CONTRIBUTING.md

@apeltzer apeltzer changed the title Issue 85 Fix #85 Dec 6, 2019
nf_core/lint.py Outdated Show resolved Hide resolved
Copy link
Member

@ewels ewels left a comment

Choose a reason for hiding this comment

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

Looks good! Just the thing with self.pipeline_name then I'm happy to merge 👍

Copy link
Member

@ewels ewels left a comment

Choose a reason for hiding this comment

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

Nice! 👍

Feel free to merge after the CI tests pass..

@apeltzer
Copy link
Member

apeltzer commented Dec 8, 2019

E       AttributeError: 'NoneType' object has no attribute 'islower'

@FriederikeHanssen :-)

@FriederikeHanssen
Copy link
Contributor Author

@apeltzer yeah , saw that. I will fix it at the airport or tomorrow morning :)

Pipeline name is not set in PipelineLint object, but initialized with
'None'. It is set in function check_nextflow_config. To test the
function check_pipeline_name by itself, I set the name manually.
@apeltzer apeltzer merged commit bddec20 into nf-core:dev Dec 9, 2019
@FriederikeHanssen FriederikeHanssen deleted the issue_85 branch December 9, 2019 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants