You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My date.csv file has the first column that contains 'name', but still reports error:
ttempting to parse dates...
Traceback (most recent call last):
File "/Users/liam/opt/miniconda3/bin/treetime", line 8, in <module>
sys.exit(main())
File "/Users/liam/opt/miniconda3/lib/python3.9/site-packages/treetime/__main__.py", line 21, in main
return_code = params.func(params)
File "/Users/liam/opt/miniconda3/lib/python3.9/site-packages/treetime/argument_parser.py", line 238, in toplevel
timetree(params)
File "/Users/liam/opt/miniconda3/lib/python3.9/site-packages/treetime/wrappers.py", line 306, in timetree
dates = utils.parse_dates(params.dates, date_col=params.date_column, name_col=params.name_column)
File "/Users/liam/opt/miniconda3/lib/python3.9/site-packages/treetime/utils.py", line 336, in parse_dates
raise err
File "/Users/liam/opt/miniconda3/lib/python3.9/site-packages/treetime/utils.py", line 285, in parse_dates
raise MissingDataError("ERROR: Cannot read metadata: need at least one column that contains the taxon labels."
treetime.MissingDataError: ERROR: Cannot read metadata: need at least one column that contains the taxon labels. Looking for the first column that contains 'name', 'strain', or 'accession' in the header.
Documentation on CLI function 'clock' is wrong. Date has to be date format not year decimal see below:
I could not get the function to work unless I used date format.
The text was updated successfully, but these errors were encountered: