albertyw / itolapi

Python API for the Interactive Tree of Life (iTOL)
MIT License
33 stars 11 forks source link

AttributeError: 'str' object has no attribute 'is_file' #40

Closed ajaykumarmizzou closed 3 months ago

YasinEl commented 4 months ago

I have the same issue.

albertyw commented 3 months ago

This is likely due to you passing in a file path as a string rather than as a pathlib.Path object. See the readme or example.py for how to pass files into itolapi.