Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@natefoo
Copy link
Member

@natefoo natefoo commented Apr 29, 2025

This was broken because the API is paginated. Because fetching the full list of biocontainers repos takes some time, I also added index reuse.

Mentioned here: https://lpembleton.rbind.io/posts/mulled-biocontainers/

How to test the changes?

(Select all options that apply)

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.
  • Instructions for manual testing are as follows:
    1. Make a venv and activate it
    2. Check out vanilla 24.2
    3. cd packages/tool_util && pip install -e '.[mulled]'
    4. mulled-search -d quay -s samtools bwa
    5. No results
    6. Apply PR
    7. Repeat search
    8. Results!

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

@ahmedhamidawan
Copy link
Member

ahmedhamidawan commented Jun 11, 2025

Hmm, weirdly, I get search results even on vanilla 24.2 without these changes:

 % mulled-search -d quay -s samtools bwa                                            (.venv)
The query returned the following result(s).
LOCATION  NAME      VERSION              COMMAND
quay      samtools  1.22--h96c455f_0     docker pull quay.io/biocontainers/samtools:1.22--h96c455f_0
quay      samtools  1.6--h5fe306e_12     docker pull quay.io/biocontainers/samtools:1.6--h5fe306e_12
quay      samtools  1.3.1--h60f3df9_12   docker pull quay.io/biocontainers/samtools:1.3.1--h60f3df9_12
quay      samtools  1.21--h96c455f_1     docker pull quay.io/biocontainers/samtools:1.21--h96c455f_1
quay      samtools  1.1--h96c455f_9      docker pull quay.io/biocontainers/samtools:1.1--h96c455f_9
quay      samtools  1.6--h5fe306e_11     docker pull quay.io/biocontainers/samtools:1.6--h5fe306e_11
quay      samtools  1.3--h60f3df9_9      docker pull quay.io/biocontainers/samtools:1.3--h60f3df9_9
quay      samtools  0.1.19--h96c455f_13  docker pull quay.io/biocontainers/samtools:0.1.19--h96c455f_13
quay      samtools  0.1.19--h96c455f_12  docker pull quay.io/biocontainers/samtools:0.1.19--h96c455f_12
quay      samtools  0.1.18--h96c455f_14  docker pull quay.io/biocontainers/samtools:0.1.18--h96c455f_14
quay      samtools  1.21--h50ea8bc_0     docker pull quay.io/biocontainers/samtools:1.21--h50ea8bc_0
quay      samtools  1.20--h50ea8bc_1     docker pull quay.io/biocontainers/samtools:1.20--h50ea8bc_1
...

quay      samtools  0.1.19--hf89b575_7   docker pull quay.io/biocontainers/samtools:0.1.19--hf89b575_7
quay      samtools  1.3.1--h80b0bb3_7    docker pull quay.io/biocontainers/samtools:1.3.1--h80b0bb3_7
quay      samtools  1.3--h80b0bb3_4      docker pull quay.io/biocontainers/samtools:1.3--h80b0bb3_4
quay      samtools  1.3--h0592bc0_3      docker pull quay.io/biocontainers/samtools:1.3--h0592bc0_3
quay      samtools  1.2                  docker pull quay.io/biocontainers/samtools:1.2

@natefoo
Copy link
Member Author

natefoo commented Jun 13, 2025

@ahmedhamidawan it works for things that are on the first page, which includes samtools, but not bwa (which is why your results only include samtools, and not bwa or the mulled containers with samtools + bwa).

@ahmedhamidawan ahmedhamidawan merged commit 6176b00 into galaxyproject:release_24.2 Jun 13, 2025
46 of 50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants