Louis Le Nézet
04/14/2025, 1:58 PMIPHOP_DOWNLOAD and IPHOP_PREDICT download a 4.5Gb database (it's a small one compare to the real on 109Gb)
• HLALA_TYPING similarly the graph is quite huge if we want it to work
I was thinking to only have a nf-test for the stub and comment the real test to not run it on the github action.
For IPHOP_DOWNLOAD I have java.lang.OutOfMemoryError: Required array size too large when I try to check the md5sum of 44 files. Do you know how I could avoid this error ?Maxime Garcia
04/14/2025, 2:23 PMLouis Le Nézet
04/14/2025, 2:47 PM{ assert snapshot(
process.out,
path(process.out.versions[0]).yaml
).match() }
But the error disappeared in the stub test when setting the assertion to
{ assert snapshot(
process.out.iphop_db,
path(process.out.versions[0]).yaml
).match() }Louis Le Nézet
04/14/2025, 2:48 PMMaxime Garcia
04/14/2025, 2:48 PMLouis Le Nézet
04/14/2025, 2:50 PMLouis Le Nézet
04/15/2025, 8:30 AMTest Process IPHOP_DOWNLOAD
Test [3e40beb0] 'iPHoP_db_rw_for-test'
> N E X T F L O W ~ version 24.10.5
> Launching `/workspaces/modules/.<http://nf-test-3e40beb08eb3ff6e65a2e2936ad8ef38.nf|nf-test-3e40beb08eb3ff6e65a2e2936ad8ef38.nf>` [jolly_tesla] DSL2 - revision: 09ba4c5830
> WARN: Unknown directive `params` for process `IPHOP_DOWNLOAD`
> WARN: Singularity cache directory has not been defined -- Remote image will be stored in the path: /workspaces/modules/.nf-test/tests/3e40beb08eb3ff6e65a2e2936ad8ef38/work/singularity -- Use the environment variable NXF_SINGULARITY_CACHEDIR to specify a different location
> Pulling Singularity image <https://depot.galaxyproject.org/singularity/iphop:1.3.2--pyhdfd78af_0> [cache /workspaces/modules/.nf-test/tests/3e40beb08eb3ff6e65a2e2936ad8ef38/work/singularity/depot.galaxyproject.org-singularity-iphop-1.3.2--pyhdfd78af_0.img]
> [31/ea2883] Submitted process > IPHOP_DOWNLOAD
gitpod /workspaces/modules (iphop/download) $
I got no error message but the snapshot isn't updatedLouis Le Nézet
04/15/2025, 8:41 AM{ assert snapshot(process.out.versions).match() }Maxime Garcia
04/15/2025, 8:42 AMMaxime Garcia
04/15/2025, 8:42 AMMaxime Garcia
04/15/2025, 8:43 AMLouis Le Nézet
04/15/2025, 9:14 AMAny idea on how many files are created?There is 36 files created.
Maxime Garcia
04/15/2025, 9:15 AMMaxime Garcia
04/15/2025, 9:16 AMLouis Le Nézet
04/15/2025, 1:59 PMgetAllFilesFromDir(process.out.iphop_db[0], true, null, null, ['*', '**/*'])*.name did work !Maxime Garcia
04/15/2025, 2:47 PMMaxime Garcia
04/15/2025, 2:47 PMLouis Le Nézet
04/15/2025, 6:11 PMgetAllFilesFromDir(process.out.iphop_db[0], true, null, null, ['*', '**/*']) give the same error java.lang.OutOfMemoryError: Required array size too large at least it is not silent ^^'Louis Le Nézet
04/15/2025, 6:25 PMiphop/download but I wonder if non stub test should be added or commented out ? It does download a huge file... What's your point of view ?Maxime Garcia
04/15/2025, 6:29 PMMaxime Garcia
04/15/2025, 6:29 PMMaxime Garcia
04/15/2025, 6:30 PMLouis Le Nézet
04/15/2025, 7:22 PMLouis Le Nézet
04/15/2025, 7:29 PM