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

Initial PR getting tests to pass #1

Merged
merged 32 commits into from
May 29, 2024
Merged

Initial PR getting tests to pass #1

merged 32 commits into from
May 29, 2024

Conversation

mattheww95
Copy link
Collaborator

No description provided.

Copy link

github-actions bot commented Apr 9, 2024

Python linting (black) is failing

To keep the code consistent with lots of contributors, we run automated code consistency checks.
To fix this CI test, please run:

  • Install black: pip install black
  • Fix formatting errors in your pipeline: black .

Once you push these changes the test should pass, and you can hide this comment 👍

We highly recommend setting up Black in your code editor so that this formatting is done automatically on save. Ask about it on Slack for help!

Thanks again for your contribution!

Copy link

github-actions bot commented Apr 9, 2024

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit f83d634

+| ✅ 138 tests passed       |+
#| ❔  27 tests were ignored |#
!| ❗   6 tests had warnings |!

❗ Test warnings:

  • nextflow_config - Config manifest.version should end in dev: 1.0.3
  • schema_lint - Schema $id should be https://raw.githubusercontent.com/phac-nml/iridanextexample/master/nextflow_schema.json
    Found https://raw.githubusercontent.com/phac-nml/iridanextexample/main/nextflow_schema.json
  • schema_description - No description provided in schema for parameter: av_html
  • schema_description - No description provided in schema for parameter: ar_config
  • schema_description - No description provided in schema for parameter: ar_thresholds
  • nfcore_yml - nf-core version not set in .nf-core.yml

❔ Tests ignored:

  • files_exist - File is ignored: assets/nf-core-iridanextexample_logo_light.png
  • files_exist - File is ignored: docs/images/nf-core-iridanextexample_logo_light.png
  • files_exist - File is ignored: docs/images/nf-core-iridanextexample_logo_dark.png
  • files_exist - File is ignored: .github/workflows/awstest.yml
  • files_exist - File is ignored: .github/workflows/awsfulltest.yml
  • files_exist - File is ignored: lib/Utils.groovy
  • files_exist - File is ignored: lib/WorkflowMain.groovy
  • files_exist - File is ignored: lib/NfcoreTemplate.groovy
  • files_exist - File is ignored: lib/WorkflowSnvphylnfc.groovy
  • nextflow_config - Config variable ignored: manifest.name
  • nextflow_config - Config variable ignored: manifest.homePage
  • files_unchanged - File ignored due to lint config: LICENSE or LICENSE.md or LICENCE or LICENCE.md
  • files_unchanged - File ignored due to lint config: .github/CONTRIBUTING.md
  • files_unchanged - File ignored due to lint config: .github/ISSUE_TEMPLATE/bug_report.yml
  • files_unchanged - File ignored due to lint config: .github/PULL_REQUEST_TEMPLATE.md
  • files_unchanged - File ignored due to lint config: .github/workflows/branch.yml
  • files_unchanged - File ignored due to lint config: .github/workflows/linting.yml
  • files_unchanged - File ignored due to lint config: assets/email_template.html
  • files_unchanged - File ignored due to lint config: assets/email_template.txt
  • files_unchanged - File ignored due to lint config: assets/sendmail_template.txt
  • files_unchanged - File does not exist: assets/nf-core-iridanextexample_logo_light.png
  • files_unchanged - File does not exist: docs/images/nf-core-iridanextexample_logo_light.png
  • files_unchanged - File does not exist: docs/images/nf-core-iridanextexample_logo_dark.png
  • files_unchanged - File ignored due to lint config: docs/README.md
  • actions_awstest - 'awstest.yml' workflow not found: /home/runner/work/clustersplitter/clustersplitter/.github/workflows/awstest.yml
  • actions_awsfulltest - actions_awsfulltest
  • pipeline_name_conventions - pipeline_name_conventions

✅ Tests passed:

Run details

  • nf-core/tools version 2.14.1
  • Run at 2024-05-29 15:43:10

@mattheww95
Copy link
Collaborator Author

This is an initial commit for for the cluster splitting pipeline, more work will need to be dont to deal with the actual goal the pipeline is supposed to address.

Currently there appears to be some issues in how some files are being constructed e.g. column order changes. This may be due to how the config file specific to arborator is set up.

But this commit can serve as a good starting point for the rest of the pipeline.

@mattheww95 mattheww95 marked this pull request as ready for review April 10, 2024 15:28
@mattheww95 mattheww95 requested a review from apetkau April 10, 2024 15:28
Copy link
Member

@apetkau apetkau left a comment

Choose a reason for hiding this comment

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

Thanks so much @mattheww95. Sorry about the long wait for this PR. I just have 2 comments.

.nf-core.yml Outdated
@@ -15,9 +15,12 @@ lint:
- .github/ISSUE_TEMPLATE/bug_report.yml
- .github/PULL_REQUEST_TEMPLATE.md
- .github/workflows/branch.yml
- .github/workflows/linting_comment.yml
Copy link
Member

Choose a reason for hiding this comment

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

Could the linting_comment.yml and linting.yml files not be added to the files to ignore linting and instead the files themselves updated to match what's found e.g., in here: https://github.com/phac-nml/snvphylnfc/tree/dev/.github/workflows

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thank you for the example! I will take care of that.

Copy link
Collaborator Author

@mattheww95 mattheww95 May 22, 2024

Choose a reason for hiding this comment

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

Tests are passing locally, but no in actions. Do you have any suggestions on what could resolve the issue? @apetkau

workflows/cluster_splitter.nf Outdated Show resolved Hide resolved
@emarinier emarinier merged commit 3451e15 into dev May 29, 2024
4 checks passed
@emarinier emarinier deleted the tests/update branch May 29, 2024 16:48
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.

3 participants