Skip to content

TypeError: '>' not supported between instances of 'float' and 'NoneType' #9

@mellamosummer

Description

@mellamosummer

Hello,

I am trying to run wLogDate to infer a time tree with calibration points given in backward time.

Here is the command I am running: wLogDate/launch_wLogDate.py -i wlog_tree_rooted.treefile -b -t wLogDate_calib_rootGer.txt -o dated_tree.txt

I keep encountering an error when I try to run wLogDate. Here is the error:

INFO:main:Launching wLogDate version 1.0.4
INFO:main:wLogDate was called as follow: wLogDate/launch_wLogDate.py -i wlog_tree_rooted.treefile -b -t wLogDate_calib_rootGer.txt -o dated_tree.txt
Traceback (most recent call last):
File "wLogDate/launch_wLogDate.py", line 98, in
main()
File "wLogDate/launch_wLogDate.py", line 90, in main
node.edge_length = max(node.edge_length,zero_len)
TypeError: '>' not supported between instances of 'float' and 'NoneType'

I'm happy to share my input files if that would help to troubleshoot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions