Error in augur refine \

Hello,please help me for this error

augur refine is using TreeTime version 0.8.1
Traceback (most recent call last):
File “/home/yiqing/miniconda3/bin/augur”, line 8, in
File “/home/yiqing/miniconda3/lib/python3.8/site-packages/augur/”, line 10, in main
return argv[1:] )
File “/home/yiqing/miniconda3/lib/python3.8/site-packages/augur/”, line 75, in run
File “/home/yiqing/miniconda3/lib/python3.8/site-packages/augur/”, line 198, in run
dates = get_numerical_dates(metadata, fmt=args.date_format,
File “/home/yiqing/miniconda3/lib/python3.8/site-packages/augur/”, line 112, in get_numerical_dates
v = m[date_col]
KeyError: ‘date’

Hi @Yiqingzzz - could you check that your metadata file has a "date" column in it?

Thank you very much for your reply! There was a data colmn in my orignal metadata file.However I didn’t find the error with the format. So I reprepared the metadata file and this error was gone.Maybe there was something wrong with the format of orignal metadata file.

1 Like