python max() arg is empty_每日一生信--ValueError: max() arg is an empty sequence

sam@sam-Precision-WorkStation-T7500[lib1]

print_qiime_config.py

-t

[ 9:17AM]

System information

==================

Platform: linux2

Python

version: 2.7.3 (default, Sep 26 2013, 20:03:06) [GCC 4.6.3]

Python executable: /usr/bin/python

Dependency versions

===================

PyCogent version: 1.5.3

NumPy

version: 1.6.1

matplotlib

version: 1.1.1rc

biom-format version: 1.2.0

QIIME library

version: 1.7.0

QIIME script

version: 1.7.0

PyNAST version (if installed): 1.2

Java version (if

installed): 1.7.0_45

QIIME config values

===================

Traceback (most recent call last):

File

"/usr/lib/qiime/bin/print_qiime_config.py", line 812, in

main()

File

"/usr/lib/qiime/bin/print_qiime_config.py", line 801, in

main

max_len = max([len(key) for key in

qiime_config])

解决办法:

My guess is that

load_qiime_config is failing. Do you have a qiime config file?

see here for more information about how to set

one up

/etc/qiime/qiime_config

/usr/lib/qiime/bin/print_qiime_config.py

/usr/lib/qiime/bin/print_qiime_config.pyc

/usr/share/doc/qiime/doctrees/install/qiime_config.doctree.gz

/usr/share/doc/qiime/doctrees/scripts/print_qiime_config.doctree.gz

/usr/share/doc/qiime/html/_sources/scripts/print_qiime_config.txt

/usr/share/doc/qiime/html/install/qiime_config.html

/usr/share/doc/qiime/html/scripts/print_qiime_config.html

sam@sam-Precision-WorkStation-T7500[lib1]

cat

/etc/qiime/qiime_config [ 9:15AM]

# qiime_config

# WARNING: DO NOT EDIT OR DELETE

Qiime/qiime_config

# To overwrite defaults, copy this file to

$HOME/.qiime_config or a full path

# specified by $QIIME_CONFIG_FP and edit that

copy of the file.

cluster_jobs_fp

python_exe_fp python

working_dir .

blastmat_dir /usr/share/ncbi/data

blastall_fp blastall

pynast_template_alignment_fp

pynast_template_alignment_blastdb

template_alignment_lanemask_fp

jobs_to_start 1

seconds_to_sleep 60

qiime_scripts_dir /usr/lib/qiime/bin/

temp_dir /tmp

将这个qiime_config复制到

sam@sam-Precision-WorkStation-T7500[lib1] print_qiime_config.py

-t  [

9:32AM]

这下子就正常了

上面的设置不对,连输入下面的这些命令,都会报错。

sam@sam-Precision-WorkStation-T7500[lib1] beta_diversity_through_plots.py

TypeError: int() argument must be a string or a number, not

'NoneType'

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值