Skip to content

Commit 2d57666

Browse files
committed
Updating to v0.9.95: Fixed perl issues
- Latest BioPerl and YAML from bioconda can now be used (packages `perl-bioperl-core` and `perl-yaml` Former-commit-id: 324b81d
1 parent 7c03060 commit 2d57666

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

captus/misc.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -577,19 +577,19 @@ def scipio_path_version(scipio_path):
577577

578578
def bioperl_get_version():
579579
command = ["perl", "-MBio::Root::Version", "-e" , "print $Bio::Root::Version::VERSION"]
580-
process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
580+
process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
581581
try:
582-
version = float(process.communicate()[0].decode())
582+
version = process.communicate()[0].decode()
583583
return "BioPerl", str(version), "OK"
584584
except ValueError:
585585
return "BioPerl", "", "not found"
586586

587587

588588
def yaml_perl_get_version():
589589
command = ["perl", "-MYAML", "-e" , "print $YAML::VERSION"]
590-
process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
590+
process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
591591
try:
592-
version = float(process.communicate()[0].decode())
592+
version = process.communicate()[0].decode()
593593
return "YAML", str(version), "OK"
594594
except ValueError:
595595
return "YAML", "", "not found"

captus/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
not, see <http://www.gnu.org/licenses/>.
1515
"""
1616

17-
__version__ = '0.9.94'
17+
__version__ = '0.9.95'

recipe/meta.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ requirements:
3333
- mmseqs2
3434
- muscle >=5
3535
- pandas
36-
- perl-bioperl-core =1.007002
36+
- perl-bioperl-core
37+
- perl-yaml
3738
- pigz
3839
- plotly
3940
- tqdm

0 commit comments

Comments
 (0)