applied-bioinformatics / An-Introduction-To-Applied-Bioinformatics

Interactive lessons in bioinformatics.

Home Page:http://readIAB.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Function show_F got an error in return

danilotat opened this issue · comments

return tabulate.tabulate(rows, headers=col_headers, tablefmt='html')

While using this code, you'll get an Attribute error:
AttributeError: 'function' object has no attribute 'tabulate'

That's because the function tabulate got a syntax like:
tabulate(object, attributes)

So the right way is to replace with:
return tabulate(rows, headers=col_headers, tablefmt='html')
This will lay to no error.