<jupyter_start><jupyter_text>Test of new version of Db.py with multiple databases-if the key is wrong db.py initializes the default database   -if you have allocated the right config-strings needs to be tested via characterist differences in the databases i.e. different time-slices<jupyter_code>import importlib.util
spec = importlib.util.spec_from_file_location("db", "../db.py")
db = importlib.util.module_from_spec(spec)
spec.loader.exec_module(db)

# constructor mistake should resort to default - results of timeslices should be same as en database
database1 = db.Database("xxx", "../config.json")
print (database1.db)
database1.get_time_ids(1520, 2008)
# database fi-news opened
database2 = db.Database("fi_news", "../config.json")
database2.get_time_ids(1520, 2008)
# database en books opened
database3 = db.Database("en_books", "../config.json")
database3.get_time_ids(1520, 2008)<jupyter_output><empty_output>
StarcoderdataJupyterStructuredCleanDedup