-
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
Add cell2cell #51744
Add cell2cell #51744
Conversation
recipes/cell2cell/meta.yaml
Outdated
- python ==3.10.* | ||
- cython | ||
- pip | ||
run: | ||
- python ==3.10.* |
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.
- python ==3.10.* | |
- cython | |
- pip | |
run: | |
- python ==3.10.* | |
- python | |
- cython | |
- pip | |
run: | |
- python |
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.
It conflicts with python 3.12
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.
Then pin <3.12
Co-authored-by: Björn Grüning <[email protected]>
Co-authored-by: Björn Grüning <[email protected]>
Oo, this is not fun. |
Yes :( |
@BiocondaBot please fetch artifacts |
Package(s) built are ready for inspection:
|
📝 WalkthroughWalkthroughThe pull request introduces a new 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 (
|
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: 3
🧹 Outside diff range and nitpick comments (2)
recipes/cell2cell/meta.yaml (2)
45-52
: Enhance test coverage.
The current test section only verifies imports and dependencies. Consider adding specific functionality tests to ensure the package works as expected.
Consider adding:
commands:
- pip check
+ - python -c "import cell2cell; assert cell2cell.__version__ == '0.7.4'"
+ - python -c "from cell2cell import io, preprocessing"
54-58
: Add more package metadata.
The about section could be enhanced with additional metadata to help users understand the package better.
Consider adding:
about:
home: https://github.com/earmingol/cell2cell
summary: Inferring cell-cell interactions from transcriptomes with cell2cell
license: BSD-3-Clause
license_file: LICENSE.txt
+ doc_url: https://github.com/earmingol/cell2cell#readme
+ dev_url: https://github.com/earmingol/cell2cell
+ description: |
+ cell2cell is a framework for inferring cell-cell interactions from
+ transcriptomics data, supporting various interaction inference methods.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
- recipes/cell2cell/meta.yaml (1 hunks)
🧰 Additional context used
🪛 yamllint
recipes/cell2cell/meta.yaml
[error] 1-1: syntax error: found character '%' that cannot start any token
(syntax)
🔇 Additional comments (1)
recipes/cell2cell/meta.yaml (1)
15-16
: 🛠️ Refactor suggestion
Consider relaxing the run_exports pin.
The current pinning strategy x.x.x
is very strict and might cause unnecessary constraints on downstream packages. For Python packages, x.x
is typically sufficient unless there are specific ABI compatibility requirements.
Consider using:
run_exports:
- - {{ pin_subpackage("cell2cell", max_pin="x.x.x") }}
+ - {{ pin_subpackage("cell2cell", max_pin="x.x") }}
- python <=3.8 | ||
- cython |
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.
Python version constraint is too restrictive.
The Python version constraint <=3.8
is very restrictive and might prevent users from using newer Python versions. If there's a specific reason for not supporting Python 3.9+, please document it. Otherwise, consider supporting newer versions.
Consider:
- - python <=3.8
+ - python >=3.8,<3.12
Also applies to: 27-28
- openpyxl >=2.6.2 | ||
- networkx >=2.3 | ||
- matplotlib-base >=3.2.0,<3.7.3 | ||
- seaborn >=0.11.0 |
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.
Resolve version conflicts between scanpy and seaborn.
There's a version conflict in the dependencies:
- scanpy 1.9.8 requires seaborn>=0.13.0
- Current recipe specifies seaborn >=0.11.0 and scanpy <=1.9.3
This needs to be resolved to ensure package compatibility.
Consider either:
- Updating seaborn to match scanpy's requirements:
- - seaborn >=0.11.0
+ - seaborn >=0.13.0
- Or keeping scanpy at a version compatible with seaborn 0.11.0:
- - scanpy <=1.9.3
+ - scanpy <=1.9.2
Also applies to: 42-42
- tensorly ==0.8.1 | ||
- kneed | ||
- scanpy <=1.9.3 | ||
- gseapy ==1.0.3 |
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.
🛠️ Refactor suggestion
Review strict version pins.
Several dependencies have exact version pins (==) which might be unnecessarily restrictive:
- tensorly ==0.8.1
- gseapy ==1.0.3
Unless there are specific compatibility requirements, consider allowing minor version updates.
Consider:
- - tensorly ==0.8.1
- - gseapy ==1.0.3
+ - tensorly >=0.8.1,<0.9
+ - gseapy >=1.0.3,<1.1
📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
- tensorly ==0.8.1 | |
- kneed | |
- scanpy <=1.9.3 | |
- gseapy ==1.0.3 | |
- tensorly >=0.8.1,<0.9 | |
- kneed | |
- scanpy <=1.9.3 | |
- gseapy >=1.0.3,<1.1 |
This PR adds cell2cell package required by liana+
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>
.