forked from bioconda/bioconda-recipes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update busco to 5.7.0 (bioconda#46490)
* Update busco to 5.7.0 * Constrain biopython; add patch --------- Co-authored-by: Matthew Berkeley <42berkeley@cua.edu>
- Loading branch information
1 parent
950dcde
commit 79dbad8
Showing
2 changed files
with
27 additions
and
4 deletions.
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,23 @@ | ||
--- a/src/busco/run_BUSCO.py | ||
+++ b/src/busco/run_BUSCO.py | ||
@@ -121,18 +121,12 @@ class BuscoMaster: | ||
logger.debug("File upload failed. Status code: {}".format(response.status)) | ||
|
||
def get_dist_info(self): | ||
- if ( # todo: fix | ||
- "conda" in __file__ | ||
- and os.environ("CONDA_DEFAULT_ENV") | ||
- and os.environ("CONDA_PREFIX") | ||
- ): | ||
- self.run_data["distribution"] = "conda" | ||
- elif os.path.exists("/.dockerenv"): | ||
+ if os.path.exists("/.dockerenv"): | ||
self.run_data["distribution"] = "docker" | ||
elif os.path.exists("/.singularity.d"): | ||
self.run_data["distribution"] = "singularity" | ||
else: | ||
- self.run_data["distribution"] = "manual" | ||
+ self.run_data["distribution"] = "conda" | ||
|
||
def get_download_url(self): | ||
if self.config.getboolean("busco_run", "offline"): |
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