Python脚本neamed Phas出错

2024-05-16 21:39:38 发布

您现在位置:Python中文网/ 问答频道 /正文

我已经通过将Github目录克隆到我的主文件夹安装了PHASTER。但是,在键入命令之后

phaster.py --contigs --fasta path/to/genome.fasta

我犯了一个错误

2019-07-11 14:32:02,389 INFO: Submission of TH19.fna appears successful

2019-07-11 14:32:02,390 INFO: job_id: ZZ_0f276b0c53

2019-07-11 14:32:02,390 INFO: error: The sequence header is not on the first line. Please check!

Traceback (most recent call last):

File "/home/fox/phaster_scripts/phaster.py", line 162, in

job_id, status, date = submit_job(fasta, options.url, {"contigs": int(options.contigs)})

File "/home/fox/phaster_scripts/phaster.py", line 99, in submit_job return r_dict["job_id"], r_dict["status"], datetime.datetime.now()

KeyError: 'status'

有人知道怎么解决这个问题吗?你知道吗


Tags: inpyinfoidhomestatuslinescripts