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

multiqc: init at 1.25.1 #364029

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

multiqc: init at 1.25.1 #364029

wants to merge 1 commit into from

Conversation

dflores1
Copy link
Contributor

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@dflores1
Copy link
Contributor Author

dflores1 commented Dec 10, 2024

I messed up trying to rebase my last commits. I decided to delete my branch and recreate it. Sorry about that!

@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by the maintainer of the package it changes labels Dec 11, 2024
@pluiedev
Copy link
Contributor

Supersedes #284361, #249329
Closes #154234

Copy link
Contributor

@apraga apraga left a comment

Choose a reason for hiding this comment

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

Also, tests fails to run :

       last 25 log lines:
       >     custom_content | some_science: Found 1 sample (image)
       > ------------------------------ Captured log call -------------------------------
       > INFO     multiqc.core.file_search:file_search.py:56 Search path: /build/multiqc/test-data/data/custom_content
       > INFO     multiqc.core.file_search:file_search.py:56 Search path: /build/multiqc
       > INFO     multiqc.core.file_search:file_search.py:76 Only using modules: custom_content
       > ERROR    multiqc.report:report.py:365 Error: MultiQC is running in source code directory! /build/multiqc
       > WARNING  multiqc.report:report.py:366 Please see the docs for how to use MultiQC: https://docs.seqera.io/multiqc/#running-multiqc
       > WARNING  multiqc.modules.custom_content.custom_content:custom_content.py:238 Not able to parse custom data in box_single_sample_mqc.txt
       > WARNING  multiqc.modules.custom_content.custom_content:custom_content.py:238 Not able to parse custom data in linegraph_multiple_samples_mqc.txt
       > WARNING  multiqc.modules.custom_content.custom_content:custom_content.py:707 Inconsistent number of columns found in table_data_mqc.out! Skipping..
       > WARNING  multiqc.modules.custom_content.custom_content:custom_content.py:238 Not able to parse custom data in table_data_mqc.out
       > WARNING  multiqc.modules.custom_content.custom_content:custom_content.py:707 Inconsistent number of columns found in with_parent_id_table_mqc.txt! Skipping..
       > WARNING  multiqc.modules.custom_content.custom_content:custom_content.py:238 Not able to parse custom data in with_parent_id_table_mqc.txt
       > WARNING  multiqc.modules.custom_content.custom_content:custom_content.py:238 Not able to parse custom data in general_stats_txt_mqc.tsv
       > WARNING  multiqc.modules.custom_content.custom_content:custom_content.py:707 Inconsistent number of columns found in table_txt_mqc.txt! Skipping..
       > WARNING  multiqc.modules.custom_content.custom_content:custom_content.py:238 Not able to parse custom data in table_txt_mqc.txt
       > WARNING  multiqc.modules.custom_content.custom_content:custom_content.py:537 Image plot type found with more than one dataset in Test-Mire2
       > INFO     multiqc.modules.custom_content.custom_content:custom_content.py:351 Test-Mire2: Found 1 sample (image)
       > WARNING  multiqc.modules.custom_content.custom_content:custom_content.py:537 Image plot type found with more than one dataset in dupRadar_plot
       > INFO     multiqc.modules.custom_content.custom_content:custom_content.py:351 dupRadar_plot: Found 1 sample (image)
       > WARNING  multiqc.modules.custom_content.custom_content:custom_content.py:537 Image plot type found with more than one dataset in some_science
       > INFO     multiqc.modules.custom_content.custom_content:custom_content.py:351 some_science: Found 1 sample (image)
       > =========================== short test summary info ============================
       > FAILED tests/test_custom_content.py::test_on_all_example_files - pydantic_core._pydantic_core.ValidationError: 9 validation errors for InputRow

Comment on lines +29 to +32
owner = "ewels";
repo = "MultiQC_TestData";
rev = "bfecc7365746caba6fd80f20df9cd630db1c6f60";
sha256 = "sha256-HPgPgeWf0K5jCVPcQj5ecsMWZixs3Nw5riwD4M1dr9E=";
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a reason not to use https://github.com/MultiQC/test-data ? In my PR packaging 1.21, I managed to get it working

Comment on lines +14 to +25
src = fetchFromGitHub {
owner = "jsvine";
repo = "spectra";
rev = "refs/tags/v${version}";
sha256 = "sha256-4A2TWTxYqckJ3DX5cd2KN3KXcmO/lQdXmOEnGi76RsA=";
};

dependencies = [ colormath ];

build-system = [ setuptools ];

postInstall = "install -Dm755 $src/spectra/grapefruit.py $out/bin/grapefruit.py";
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe fetchPypi would be better ? See my PR for inspiration.

Copy link
Contributor

Choose a reason for hiding this comment

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

PyPI source releases often have tests stripped, which isn't ideal. I personally would recommend using source repos if possible


doCheck = false; # tests require nose. An outdated python library.

# pytestFlagsArray = [ "-W 'ignore:pkg_resources is deprecated as an API:DeprecationWarning'" ];
Copy link
Contributor

@apraga apraga Jan 4, 2025

Choose a reason for hiding this comment

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

Remove this comment

@apraga apraga mentioned this pull request Jan 9, 2025
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: python 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 10.rebuild-linux: 1-10 11.by: package-maintainer This PR was created by the maintainer of the package it changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants