forlilab / Ringtail

Package for storage and analysis of virtual screenings run with AutoDock-GPU and AutoDock Vina
GNU Lesser General Public License v2.1
36 stars 6 forks source link

Ringtailcore problem #32

Closed agusgrich closed 7 months ago

agusgrich commented 7 months ago

I am traying to make a sqlite database from my directory with the tutorial of this:

from ringtail import RingtailCore

opts = RingtailCore.get_defaults() RingtailCore.set_opts(opts, ["storage_type", "db_file", "path", "recursive"], ["sqlite", "example.db", [["."]], True])

with RingtailCore(**opts) as rt_core: rt_core.add_results()

And I have this error: AttributeError: type object 'RingtailCore' has no attribute 'set_opts'.