Skip to content
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

Update rna-seqc to 2.4.2 #51342

Merged
merged 7 commits into from
Oct 11, 2024
Merged

Conversation

lrvdijk
Copy link
Contributor

@lrvdijk lrvdijk commented Oct 11, 2024

This PR updates RNA-seqc to its current version. It additionally installs the python scripts too.

Copy link
Contributor

coderabbitai bot commented Oct 11, 2024

📝 Walkthrough
📝 Walkthrough

Walkthrough

The pull request introduces changes to two files: build.sh and meta.yaml within the rna-seqc recipe. In build.sh, the directory navigation command has been simplified, changing from a more complex path to a direct reference to the rnaseqc directory. The export of LDFLAGS has been added to include -L${PREFIX}/lib, and CFLAGS has been updated to append -O3 and -fcommon. The make commands for bwa and fermi-lite have been adjusted to incorporate these flags. Additionally, permissions for the rnaseqc binary are now set to 0755 before copying it to the $PREFIX/bin directory.

In the meta.yaml file, the package version has been updated from "2.3.5" to "2.4.2" with a new SHA256 checksum and a reset build number from 6 to 0. A new run_exports section has been added, which includes a pinning directive for the rna-seqc subpackage. The existing dependencies remain unchanged, while the test section continues to include a command to check the version of rnaseqc. The license_file entry has been restored, pointing to rnaseqc/LICENSE, with the license type specified as BSD-3-Clause.

Possibly related PRs

  • Update kmer-db #49740: The changes in the meta.yaml file for kmer-db include a new run_exports section, similar to the updates made in the meta.yaml for rna-seqc.
  • Update meta.yaml for spec2vec #49857: The meta.yaml for spec2vec includes a new run_exports section, paralleling the addition of run_exports in the meta.yaml for rna-seqc.
  • Add recipe for consensify #50969: The meta.yaml for consensify introduces a run_exports section, akin to the changes made in the meta.yaml for rna-seqc.
  • 2024.4 #50977: The meta.yaml for biobb_structure_checking includes a version update and build number reset, similar to the version increment and build number reset in the meta.yaml for rna-seqc.
  • Update: Metabuli 1.0.8 #51030: The meta.yaml for metabuli reflects a version update and build number reset, paralleling the changes in the meta.yaml for rna-seqc.
  • bambamc: add aarch64/arm64 builds #51067: The meta.yaml for bambamc includes a new run_exports section, similar to the updates made in the meta.yaml for rna-seqc.
  • Add hmftools-chord 2.1.0_beta #51149: The meta.yaml for hmftools-chord introduces a run_exports section, akin to the changes made in the meta.yaml for rna-seqc.
  • Rebuild breseq #51221: The meta.yaml for breseq includes a build number increment, similar to the changes in the meta.yaml for rna-seqc.
  • kmc: add arm64 build #51281: The meta.yaml for kmc introduces a new architecture support, similar to the updates made in the meta.yaml for rna-seqc.
  • add gfainject #51287: The meta.yaml for gfainject includes a run_exports section, paralleling the changes made in the meta.yaml for rna-seqc.
  • Update r-grain to 1.4.4 #51313: The meta.yaml for r-grain includes a version update, similar to the version increment in the meta.yaml for rna-seqc.
  • Update seismic-rna to 0.21.0 #51320: The meta.yaml for seismic-rna includes a version update, paralleling the version increment in the meta.yaml for rna-seqc.

Suggested labels

new version


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between f017fab and e9716b7.

📒 Files selected for processing (2)
  • recipes/rna-seqc/build.sh (3 hunks)
  • recipes/rna-seqc/meta.yaml (2 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • recipes/rna-seqc/build.sh
🧰 Additional context used
🪛 yamllint
recipes/rna-seqc/meta.yaml

[error] 1-1: syntax error: found character '%' that cannot start any token

(syntax)

🔇 Additional comments (7)
recipes/rna-seqc/meta.yaml (7)

1-2: LGTM: Version and checksum update.

The version has been correctly updated to 2.4.2, and the SHA256 checksum has been updated accordingly. This is in line with the PR objective to update RNA-seqc to version 2.4.2.

🧰 Tools
🪛 yamllint

[error] 1-1: syntax error: found character '%' that cannot start any token

(syntax)


5-6: LGTM: Minor style improvement.

Removing quotes from the Jinja2 variable {{ version }} is a minor style improvement. It doesn't affect functionality and makes the YAML more concise.


10-10: LGTM: Consistent style improvement.

Removing quotes from the Jinja2 variable {{ sha256sum }} is consistent with the earlier style change. It improves readability without affecting functionality.


13-15: LGTM: Build number reset and run_exports addition.

The build number has been correctly reset to 0 for the new version. The addition of the run_exports section with {{ pin_subpackage("rna-seqc", max_pin="x") }} is a good practice. This ensures that when this package is used as a dependency, it will be correctly pinned to allow updates within the same major version, maintaining compatibility.


39-40: LGTM: Improved package metadata.

The following improvements to the package metadata are excellent:

  1. Updated license file declaration and type to "BSD-3-Clause" for more accurate licensing information.
  2. Added dev_url and doc_url fields, enhancing user accessibility to source code and documentation.
  3. Minor improvement in summary formatting with the addition of a period.

These changes contribute to better package documentation and compliance.

Also applies to: 42-44


46-49: LGTM: Added identifiers for improved discoverability.

The addition of the extra section with identifiers is an excellent improvement. Including the biotools identifier and DOI enhances the package's discoverability and facilitates proper citation. This aligns with best practices for scientific software packaging.


31-31: Please clarify the removal of bzip2 from run dependencies.

The bzip2 dependency has been removed from the run requirements. Could you please explain the rationale behind this change? It's important to ensure that this removal doesn't affect the runtime behavior of the package.

✅ Verification successful

bzip2 Dependency Removal Verified

The bzip2 dependency has been successfully removed from the run requirements and is no longer used in the package source code.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check if bzip2 is still used in the package source code

# Test: Search for bzip2 usage in the source code
rg --type cpp --type c 'bzip2|BZ2' 

Length of output: 36


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?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a 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 (4)
recipes/rna-seqc/build.sh (3)

Line range hint 7-19: SeqLib component builds look good, consider optimization

The build process for SeqLib components (bwa, fermi-lite, htslib) is correctly maintained. The use of environment variables for compiler flags ensures flexibility across different build environments.

Consider creating a function for the repetitive build process to reduce code duplication:

build_component() {
    pushd "$1"
    make CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
    popd
}

build_component SeqLib/bwa
build_component SeqLib/fermi-lite
build_component SeqLib/htslib

This refactoring would make the script more maintainable and easier to extend in the future.


Line range hint 21-31: Main build process looks good, document use of -fcommon

The main build process is correctly maintained, with the addition of the -fcommon flag to address potential compatibility issues with newer GCC versions.

Consider adding a comment explaining the reason for using the -fcommon flag:

 make \
-    CC="$CXX -fcommon" \
+    CC="$CXX -fcommon" # -fcommon flag added for compatibility with GCC 10+ \
     INCLUDE_DIRS="-I$PREFIX/include -ISeqLib -ISeqLib/htslib" \
     LIBRARY_PATHS="-L$PREFIX/lib -Wl,-rpath $PREFIX/lib"

This documentation will help future maintainers understand the reason for this compiler flag.


33-35: Python script installation added, consider error handling

The addition of Python script installation is a good improvement, extending the functionality of the package.

Consider adding error handling to make the script more robust:

 # Install python scripts
+if [ ! -d "python" ]; then
+    echo "Error: python directory not found"
+    exit 1
+fi
 cd python
-$PYTHON setup.py install
+if ! $PYTHON setup.py install; then
+    echo "Error: Python script installation failed"
+    exit 1
+fi

This change will ensure that the script fails explicitly if the Python installation encounters any issues, making it easier to diagnose problems during the build process.

recipes/rna-seqc/meta.yaml (1)

34-40: New dependencies added correctly, consider specifying versions.

The addition of new Python dependencies (numpy, pandas, matplotlib-base, seaborn, nbformat, and agutil via pip) is appropriate for the updated package version. These are common libraries for data analysis and visualization.

Consider specifying version constraints for these new dependencies to ensure compatibility and reproducibility. For example:

- numpy >=1.18
- pandas >=1.0
- matplotlib-base >=3.2
- seaborn >=0.10
- nbformat >=5.0
- pip:
    - agutil >=3.0

Adjust the versions as appropriate for your specific needs.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between f1ca045 and bf04c1e.

📒 Files selected for processing (2)
  • recipes/rna-seqc/build.sh (2 hunks)
  • recipes/rna-seqc/meta.yaml (3 hunks)
🧰 Additional context used
🪛 yamllint
recipes/rna-seqc/meta.yaml

[error] 1-1: syntax error: found character '%' that cannot start any token

(syntax)

🔇 Additional comments (5)
recipes/rna-seqc/meta.yaml (5)

1-2: Version and checksum update looks good.

The package version has been correctly updated to 2.4.2, and the SHA256 checksum has been updated accordingly. This change aligns with the PR objective.

🧰 Tools
🪛 yamllint

[error] 1-1: syntax error: found character '%' that cannot start any token

(syntax)


13-15: Build number reset and run_exports addition are appropriate.

The build number has been correctly reset to 1 for the new version. The addition of the run_exports section with the pin_subpackage directive is a good practice to ensure correct version pinning when this package is used as a dependency.


44-45: Import test addition is beneficial.

The addition of an import test for rnaseqc is a good practice. It complements the existing command test and helps ensure that the package is installed correctly and can be imported in Python scripts.


50-50: License file inclusion is correct.

Restoring the license_file entry is important for legal compliance. It ensures that the license is properly included with the package distribution.


Line range hint 1-50: Overall, the update to rna-seqc 2.4.2 looks good.

The changes in this file successfully update the rna-seqc package to version 2.4.2. Key points:

  1. Version and checksum have been updated correctly.
  2. Build number has been reset and run_exports added for proper version pinning.
  3. New Python dependencies have been added, reflecting the updated package requirements.
  4. An import test has been added to complement the existing command test.
  5. The license file is now properly included in the package.

These changes align well with the PR objectives. The only suggestion for improvement is to consider specifying version constraints for the new dependencies.

recipes/rna-seqc/build.sh Show resolved Hide resolved
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Outside diff range and nitpick comments (1)
recipes/rna-seqc/meta.yaml (1)

39-44: Good: License file entry restored

Restoring the license_file entry is excellent for compliance and transparency. The rest of the metadata appears to be up-to-date.

As a minor suggestion, consider adding a doc_url field pointing to the project's documentation, if available. This can be helpful for users seeking more information about the tool.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between bf04c1e and 5317579.

📒 Files selected for processing (2)
  • recipes/rna-seqc/build.sh (1 hunks)
  • recipes/rna-seqc/meta.yaml (2 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • recipes/rna-seqc/build.sh
🧰 Additional context used
🪛 yamllint
recipes/rna-seqc/meta.yaml

[error] 1-1: syntax error: found character '%' that cannot start any token

(syntax)

🔇 Additional comments (4)
recipes/rna-seqc/meta.yaml (4)

1-2: LGTM: Version and checksum updated correctly

The package version has been updated to 2.4.2 as per the PR objective, and the SHA256 checksum has been updated accordingly. This ensures the integrity of the new package version.

🧰 Tools
🪛 yamllint

[error] 1-1: syntax error: found character '%' that cannot start any token

(syntax)


13-15: Excellent: Build number reset and run_exports added

The build number has been correctly reset to 0 for the new version. The addition of the run_exports section with the pin_subpackage directive is a great improvement. This ensures that packages depending on rna-seqc will use a compatible version, enhancing the overall stability of the ecosystem.


36-36: LGTM: Appropriate test command

The test command to check the rnaseqc version is appropriate and will help verify that the correct version (2.4.2) is installed.


Line range hint 17-33: Verify dependencies for the new version

The requirements section remains unchanged. However, the AI summary mentioned new dependencies such as numpy, pandas, matplotlib-base, seaborn, nbformat, and a pip requirement for agutil. Please verify if these new dependencies are required for version 2.4.2 and update the run section accordingly if needed.

To check for any new dependencies in the source code, you can run:

🧰 Tools
🪛 yamllint

[error] 1-1: syntax error: found character '%' that cannot start any token

(syntax)

Copy link
Contributor

coderabbitai bot commented Oct 11, 2024

📝 Walkthrough

Walkthrough

The pull request introduces modifications to the build.sh script and the meta.yaml file for the rna-seqc package. In the build.sh script, the directory navigation is simplified by changing the path to the rnaseqc directory. Updates to the Makefile include appending $(LDFLAGS) to the DFLAGS variable and modifying the make command to incorporate both CFLAGS and LDFLAGS. The build commands for fermi-lite and the main application are also adjusted to include LDFLAGS. Additionally, a new section for installing Python scripts is added. In the meta.yaml file, the version is incremented from "2.3.5" to "2.4.2," and the build number is reset to 1. New runtime dependencies such as numpy, pandas, and matplotlib-base are introduced, along with a run_exports entry. The license file declaration is reinstated, marking a shift from a comment to an active declaration.

Possibly related PRs

Suggested labels

autobump, new version

Suggested reviewers

  • bgruening

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?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a 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 (3)
recipes/rna-seqc/build.sh (2)

Line range hint 8-25: LGTM: Improved build commands with consistent flag usage

The build commands have been updated to consistently use both CFLAGS and LDFLAGS, which is a good practice. The addition of -fcommon suggests compatibility with newer GCC versions.

One minor suggestion:

Consider moving the -fcommon flag to the CFLAGS environment variable at the beginning of the script for consistency:

-export CFLAGS="${CFLAGS} -fcommon"
+export CFLAGS="${CFLAGS} -fcommon"
+export CXXFLAGS="${CXXFLAGS} -fcommon"

 # ... (rest of the script)

 make \
-    CC="$CXX -fcommon" \
+    CC="$CXX" \
     INCLUDE_DIRS="-I$PREFIX/include -ISeqLib -ISeqLib/htslib" \
     LIBRARY_PATHS="-L$PREFIX/lib -Wl,-rpath $PREFIX/lib"

This change would apply the -fcommon flag consistently to both C and C++ compilations and simplify the final build command.


Line range hint 1-35: Suggestion: Add version checking and build information output

The build script is well-structured and covers all necessary steps. To further improve its robustness and debuggability, consider adding version checking and build information output.

Add the following at the end of the script:

# Print version information
$PREFIX/bin/rnaseqc --version

# Print Python package information
$PYTHON -m pip show rnaseqc

This addition will help verify that the correct version has been installed and provide useful information for debugging purposes.

recipes/rna-seqc/meta.yaml (1)

34-40: New dependencies added correctly, but consider conda-forge for agutil.

The addition of numpy, pandas, matplotlib-base, seaborn, and nbformat as runtime dependencies is appropriate and likely supports the new Python scripts mentioned in the PR objectives. This suggests expanded functionality in the new version of RNA-seqc.

However, installing agutil via pip in a conda recipe is not ideal. If possible, consider adding agutil to conda-forge and then including it as a regular conda dependency. This would improve consistency and make the package easier to manage.

Would you like assistance in checking if agutil is available on conda-forge or in creating a conda-forge recipe for it?

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between f1ca045 and b0d392c.

📒 Files selected for processing (2)
  • recipes/rna-seqc/build.sh (2 hunks)
  • recipes/rna-seqc/meta.yaml (3 hunks)
🧰 Additional context used
🪛 yamllint
recipes/rna-seqc/meta.yaml

[error] 1-1: syntax error: found character '%' that cannot start any token

(syntax)

🔇 Additional comments (5)
recipes/rna-seqc/build.sh (1)

6-6: LGTM: Simplified directory navigation

The directory change command has been simplified, which aligns with the update to version 2.4.2. This change makes the build process more robust and less dependent on specific CI environments.

recipes/rna-seqc/meta.yaml (4)

1-2: LGTM: Version and checksum updated correctly.

The package version has been updated to 2.4.2, and the SHA256 checksum has been changed accordingly. This aligns with the PR objective to update RNA-seqc to the latest version.

🧰 Tools
🪛 yamllint

[error] 1-1: syntax error: found character '%' that cannot start any token

(syntax)


13-13: LGTM: Build number reset appropriately.

The build number has been reset to 1, which is the correct practice when updating to a new version of the package.


20-21: LGTM: run_exports section added correctly.

The addition of the run_exports section with {{ pin_subpackage("rna-seqc", max_pin="x.x") }} is a good practice. This ensures that when this package is used as a dependency, it will be correctly pinned, allowing for minor version updates but not major ones. This helps maintain compatibility while allowing for bug fixes and minor improvements.


44-45: LGTM: Test import added and license file declared.

The addition of the rnaseqc import in the test section is appropriate, especially with the new Python dependencies. This helps ensure that the Python module is correctly installed and importable.

The license file declaration has been uncommented, which is correct if the LICENSE file is now included in the package distribution.

To confirm the presence of the LICENSE file, please run the following command:

This command will check the source tarball for the presence of a LICENSE file. If found, it confirms that uncommenting the license_file declaration is correct.

Also applies to: 50-50

Comment on lines 33 to 35
# Install python scripts
cd python
$PYTHON setup.py install
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Approved: Python script installation added

The addition of Python script installation aligns with the PR objectives. However, there's room for improvement in the installation method.

Consider using pip for installation instead of setup.py, as it's the recommended method for modern Python packaging:

 # Install python scripts
 cd python
-$PYTHON setup.py install
+$PYTHON -m pip install .

This change ensures that the package is installed with all its dependencies and metadata correctly handled by pip.

📝 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.

Suggested change
# Install python scripts
cd python
$PYTHON setup.py install
# Install python scripts
cd python
$PYTHON -m pip install .

@lrvdijk
Copy link
Contributor Author

lrvdijk commented Oct 11, 2024

@bioconda-bot please add label

@mencian mencian merged commit 920eccb into bioconda:master Oct 11, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
please review & merge set to ask for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants