-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
base: master
Are you sure you want to change the base?
multiqc: init at 1.25.1 #364029
Conversation
I messed up trying to rebase my last commits. I decided to delete my branch and recreate it. Sorry about that! |
There was a problem hiding this 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
owner = "ewels"; | ||
repo = "MultiQC_TestData"; | ||
rev = "bfecc7365746caba6fd80f20df9cd630db1c6f60"; | ||
sha256 = "sha256-HPgPgeWf0K5jCVPcQj5ecsMWZixs3Nw5riwD4M1dr9E="; |
There was a problem hiding this comment.
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
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"; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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'" ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this comment
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.