-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Adding msa4u #51864
Adding msa4u #51864
Conversation
Warning Rate limit exceeded@druvus has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 12 minutes and 0 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📝 Walkthrough📝 Walkthrough📝 WalkthroughWalkthroughThe pull request introduces a new file named Possibly related PRs
Suggested labels
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
@BiocondaBot please update |
I encountered an error updating your PR branch. You can report this to bioconda/core if you'd like. |
Clean up dependencies
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.
Actionable comments posted: 2
🧹 Outside diff range and nitpick comments (1)
recipes/msa4u/meta.yaml (1)
29-33
: Consider adding more comprehensive tests.While the current tests check basic functionality, consider adding more test commands to verify key features.
Consider adding these additional tests:
commands: - msa4u --help + - msa4u --version + - python -c "import msa4u; assert msa4u.__version__ == '0.4.0'"
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
recipes/msa4u/meta.yaml
(1 hunks)
🧰 Additional context used
🪛 yamllint
recipes/msa4u/meta.yaml
[error] 1-1: syntax error: found character '%' that cannot start any token
(syntax)
🔇 Additional comments (4)
recipes/msa4u/meta.yaml (4)
1-6
: LGTM! Package metadata follows conda-forge standards.
🧰 Tools
🪛 yamllint
[error] 1-1: syntax error: found character '%' that cannot start any token
(syntax)
1-39
: Overall recipe structure is good with minor improvements needed.
The recipe follows conda-forge standards and is appropriate for Bioconda as it's a bioinformatics tool. The suggested improvements (dependency constraints, additional tests, license consideration) will enhance reliability and maintainability, but the current implementation is functional.
🧰 Tools
🪛 yamllint
[error] 1-1: syntax error: found character '%' that cannot start any token
(syntax)
12-17
: Consider adjusting the run_exports pin.
The current pin x.x
might be too strict for a pure Python package. Unless this package has C extensions or strict version requirements, consider using x.x.x
instead.
Consider updating the pin:
- - {{ pin_subpackage("msa4u", max_pin="x.x") }}
+ - {{ pin_subpackage("msa4u", max_pin="x.x.x") }}
8-10
: Verify package availability and checksum.
The source configuration looks correct, but let's verify the package existence and integrity.
recipes/msa4u/meta.yaml
Outdated
about: | ||
home: https://art-egorov.github.io/msa4u/ | ||
summary: "A simple visualisation tool for Multiple Sequence Alignment." | ||
license: WTFPL | ||
license_file: LICENSE |
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.
💡 Codebase verification
Consider using a more appropriate license for scientific software
The verification confirms that the package indeed uses the WTFPL license. For scientific software that may be used in academic or research contexts, this license choice raises concerns:
- Lacks explicit terms for attribution and citation requirements
- No clear statements about warranties and liability
- May not meet institutional requirements for software usage
- Could potentially limit adoption in professional/academic environments
Recommended alternatives:
- MIT License: Simple, permissive, with clear liability disclaimers
- BSD License: Well-recognized in academic communities
- Apache 2.0: Comprehensive coverage of patents and contributions
🔗 Analysis chain
Review license choice for scientific software.
The WTFPL license might not be the most appropriate choice for scientific software as it lacks explicit terms for attribution, warranties, and liability. Consider suggesting a more standard license like MIT, BSD, or Apache 2.0.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: Check upstream license
# Expected: Should show actual license content from the source
# Test: Look for LICENSE file content in the package
curl -sL "https://raw.githubusercontent.com/art-egorov/msa4u/main/LICENSE"
Length of output: 557
@BiocondaBot please add label |
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.
Actionable comments posted: 1
🧹 Outside diff range and nitpick comments (2)
recipes/msa4u/meta.yaml (2)
12-17
: Consider relaxing version pinning and enabling build isolation.
- The
x.x
pin inrun_exports
might be too restrictive for a visualization tool. Consider usingx
instead unless there are known API breaking changes between minor versions.- Building without isolation (
--no-build-isolation
) could lead to reproducibility issues.build: run_exports: - - {{ pin_subpackage("msa4u", max_pin="x.x") }} + - {{ pin_subpackage("msa4u", max_pin="x") }} - script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + script: {{ PYTHON }} -m pip install . -vv --no-deps
1-40
: Overall assessment: Recipe structure is good with minor improvements needed.The recipe is well-structured and appropriate for Bioconda. Key points to address:
- Verify the 'configs' package requirement
- Consider enabling build isolation
- Consider relaxing version pinning in run_exports
The package fits Bioconda's scope as it's a biological sequence alignment visualization tool.
🧰 Tools
🪛 yamllint
[error] 1-1: syntax error: found character '%' that cannot start any token
(syntax)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
recipes/msa4u/meta.yaml
(1 hunks)
🧰 Additional context used
🪛 yamllint
recipes/msa4u/meta.yaml
[error] 1-1: syntax error: found character '%' that cannot start any token
(syntax)
🔇 Additional comments (4)
recipes/msa4u/meta.yaml (4)
1-6
: LGTM! Package metadata is well-structured.
The package name and version are correctly templated using Jinja2, following conda-forge best practices.
🧰 Tools
🪛 yamllint
[error] 1-1: syntax error: found character '%' that cannot start any token
(syntax)
30-34
: LGTM! Test section includes both import and CLI verification.
The tests appropriately verify both the Python package installation and CLI functionality.
28-28
: Verify the 'configs' package requirement.
The 'configs' package is not a common Python package name. Please verify:
- Is this the correct package name?
- Is it available on conda-forge or bioconda?
#!/bin/bash
# Description: Check if configs package exists in conda channels
# Expected: Should find the package in conda-forge or bioconda
# Test: Search for configs package in conda channels
conda search configs -c conda-forge -c bioconda --info
8-10
: Verify package source availability and integrity.
The source URL and checksum need verification to ensure the package can be downloaded successfully.
✅ Verification successful
Package source and checksum verified successfully
The PyPI package source is available and the SHA256 checksum matches exactly with the one specified in the recipe. The package can be downloaded from PyPI and its integrity is verified.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: Verify package source availability and checksum
# Expected: Should be able to download the package and verify its checksum
# Test: Download the package and verify checksum
curl -sL "https://pypi.org/packages/source/m/msa4u/msa4u-0.4.0.tar.gz" | sha256sum
Length of output: 223
Script:
#!/bin/bash
# Let's verify the package source using a different approach
# First, let's check if the package exists on PyPI
curl -sI "https://pypi.org/pypi/msa4u/0.4.0/json" | head -n 1
# Then let's get the actual download URL and checksum from PyPI
curl -s "https://pypi.org/pypi/msa4u/0.4.0/json" | jq -r '.urls[] | select(.packagetype=="sdist") | "\(.url)\n\(.digests.sha256)"'
Length of output: 396
recipes/msa4u/meta.yaml
Outdated
about: | ||
home: https://art-egorov.github.io/msa4u/ |
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.
💡 Codebase verification
Homepage URL is not accessible
The specified homepage URL (https://art-egorov.github.io/msa4u/) returns a 404 error, indicating that the documentation site is not available. Please:
- Update the homepage URL in
recipes/msa4u/meta.yaml
to point to a valid, accessible documentation site - Consider using the GitHub repository URL as a fallback if a dedicated documentation site is not yet published
🔗 Analysis chain
Verify homepage accessibility.
Let's ensure the documentation homepage is accessible and contains relevant information.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: Check if the homepage is accessible
# Expected: Should return a successful status code
# Test: Check homepage availability
curl -sL -w "%{http_code}" "https://art-egorov.github.io/msa4u/" -o /dev/null
Length of output: 81
Describe your pull request here
Please read the guidelines for Bioconda recipes before opening a pull request (PR).
General instructions
@BiocondaBot please add label
command.@bioconda/core
in a comment.Instructions for avoiding API, ABI, and CLI breakage issues
Conda is able to record and lock (a.k.a. pin) dependency versions used at build time of other recipes.
This way, one can avoid that expectations of a downstream recipe with regards to API, ABI, or CLI are violated by later changes in the recipe.
If not already present in the meta.yaml, make sure to specify
run_exports
(see here for the rationale and comprehensive explanation).Add a
run_exports
section like this:with
...
being one of:{{ pin_subpackage("myrecipe", max_pin="x") }}
{{ pin_subpackage("myrecipe", max_pin="x.x") }}
{{ pin_subpackage("myrecipe", max_pin="x.x") }}
(in such a case, please add a note that shortly mentions your evidence for that){{ pin_subpackage("myrecipe", max_pin="x.x.x") }}
(in such a case, please add a note that shortly mentions your evidence for that){{ pin_subpackage("myrecipe", max_pin=None) }}
while replacing
"myrecipe"
with eithername
if aname|lower
variable is defined in your recipe or with the lowercase name of the package in quotes.Bot commands for PR management
Please use the following BiocondaBot commands:
Everyone has access to the following BiocondaBot commands, which can be given in a comment:
@BiocondaBot please update
@BiocondaBot please add label
please review & merge
label.@BiocondaBot please fetch artifacts
You can use this to test packages locally.
Note that the
@BiocondaBot please merge
command is now depreciated. Please just squash and merge instead.Also, the bot watches for comments from non-members that include
@bioconda/<team>
and will automatically re-post them to notify the addressed<team>
.