Python bioconda配方,在Travis.ci上执行时出错
我正试图通过Github和Travis.ci为我的软件包创建一个bioconda配方 Travis试图在Linux机器上运行我的配方,以下是日志错误:Python bioconda配方,在Travis.ci上执行时出错,python,anaconda,conda,Python,Anaconda,Conda,我正试图通过Github和Travis.ci为我的软件包创建一个bioconda配方 Travis试图在Linux机器上运行我的配方,以下是日志错误: 18:51:14 BIOCONDA INFO Recipes to consider according to git: recipes/BEHST 18:51:14 BIOCONDA INFO Recipes to lint: recipes/BEHST Traceback (most recent call last): Fi
18:51:14 BIOCONDA INFO Recipes to consider according to git:
recipes/BEHST
18:51:14 BIOCONDA INFO Recipes to lint:
recipes/BEHST
Traceback (most recent call last):
File "/anaconda/bin/bioconda-utils", line 11, in <module>
load_entry_point('bioconda-utils==0.10.0', 'console_scripts', 'bioconda-utils')()
File "/anaconda/lib/python3.5/site-packages/bioconda_utils/cli.py", line 426, in main
argh.dispatch_commands([build, dag, dependent, lint, duplicates])
File "/anaconda/lib/python3.5/site-packages/argh/dispatching.py", line 328, in dispatch_commands
dispatch(parser, *args, **kwargs)
File "/anaconda/lib/python3.5/site-packages/argh/dispatching.py", line 174, in dispatch
for line in lines:
File "/anaconda/lib/python3.5/site-packages/argh/dispatching.py", line 277, in _execute_command
for line in result:
File "/anaconda/lib/python3.5/site-packages/argh/dispatching.py", line 260, in _call
result = function(*positional, **keywords)
File "/anaconda/lib/python3.5/site-packages/bioconda_utils/cli.py", line 218, in lint
registry=registry,
File "/anaconda/lib/python3.5/site-packages/bioconda_utils/linting.py", line 256, in lint
result = func(recipe, meta, df)
File "/anaconda/lib/python3.5/site-packages/bioconda_utils/lint_functions.py", line 56, in in_other_channels
results = _subset_df(recipe, meta, df)
File "/anaconda/lib/python3.5/site-packages/bioconda_utils/lint_functions.py", line 10, in _subset_df
version = meta['package']['version']
File "/anaconda/lib/python3.5/site-packages/ruamel_yaml/comments.py", line 426, in __getitem__
return ordereddict.__getitem__(self, key)
KeyError: 'version'
有什么想法吗?谢谢
编辑2:这是我的食谱:
还有我的build.sh
的内容:
#!/bin/bash
#
#$ -cwd
#$ -S /bin/bash
#
set -o nounset -o pipefail -o errexit
set -o xtrace
echo "Running build.sh"
mkdir ../results/
mkdir ../temp/
sh project.sh ../data/pressto_LUNG_enhancers.bed DEFAULT_EQ DEFAULT_ET
你知道如何在Travis.ci上以conda包的形式运行这段代码吗?谢谢 似乎你的配方没有指定软件包的版本?@NehalJWani可能,但我的软件包没有版本。。。我该怎么办?谢谢你可以用配方创建的日期作为版本本身。比如:@NehalJWani谢谢。它解决了,但我有一个新问题。我编辑了答案
#!/bin/bash
#
#$ -cwd
#$ -S /bin/bash
#
set -o nounset -o pipefail -o errexit
set -o xtrace
echo "Running build.sh"
mkdir ../results/
mkdir ../temp/
sh project.sh ../data/pressto_LUNG_enhancers.bed DEFAULT_EQ DEFAULT_ET