-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 new recipe selenzy_wrapper v0.0.4 #31359
Merged
Merged
Changes from 3 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
585e366
add new recipe selenzy_wrapper v0.0.4
kenza12 a03baaf
update selenzy_wrapper to 0.0.6
kenza12 8a90a8c
update sha256 for tag 0.0.6
kenza12 4551d6d
execute only 1 test to avoid memory issues
kenza12 793becf
select another test file to avoid memory issues
kenza12 68a7ee9
dont check test files because of memory limit
kenza12 File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{% set name = "selenzy_wrapper" %} | ||
{% set version = "0.0.6" %} | ||
|
||
package: | ||
name: {{ name|lower }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://github.com/brsynth/selenzy-wrapper/archive/{{ version }}.tar.gz | ||
sha256: 6a3651672b155c3870338f532b664f291bd95adff1a7a4df539ff931cfafdc7f | ||
|
||
build: | ||
number: 0 | ||
noarch: python | ||
script: {{ PYTHON }} -m pip install -vv . | ||
|
||
requirements: | ||
host: | ||
- python >=3.7,<3.10 | ||
- pip | ||
run: | ||
- python >=3.7,<3.10 | ||
- biopython >1.70,<=1.77 | ||
- brs_utils | ||
- emboss | ||
- rptools | ||
test: | ||
source_files: | ||
- tests/ | ||
imports: | ||
- selenzy_wrapper | ||
requires: | ||
- pytest | ||
|
||
about: | ||
home: https://github.com/brsynth/selenzy-wrapper | ||
summary: Python wrapper of selenzy tool | ||
license: MIT | ||
license_file: LICENSE | ||
|
||
extra: | ||
recipe-maintainers: | ||
- breakthewall | ||
- kenza12 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
echo -e "\n\n*** TEST ***\n\n" | ||
python -m selenzy_wrapper --help | ||
pytest -v | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Please don't run your full tests.
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.
Also, is there no executable installed for this? Typically python packages would be executed like
selenzy --help
or something like that.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.
Hi @dpryan79 ,
Thanks for your reply.
I tried to run only one test but it always returns the same memory error. Finally, we decided not to run tests and to only check the imports and the help command line:
python -m selenzy_wrapper --help
.We don't have an executable
selenzy --help
, we execute the package with this commandpython -m selenzy_wrapper --help
.Thank your for your work.
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.
Maybe in a future release adding a script to be invoked will make the tool more handy :)