From 27de877386b3f83fd8b98c7fbe2d3ac58bf18ff9 Mon Sep 17 00:00:00 2001 From: Alejandra Gonzalez <alejandra.gonzalez@uni-jena.de> Date: Wed, 6 Oct 2021 14:37:36 +0200 Subject: [PATCH] Added options for hybrids --- msc/coredb_write_index_json.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/msc/coredb_write_index_json.py b/msc/coredb_write_index_json.py index 923d77c..27b3514 100644 --- a/msc/coredb_write_index_json.py +++ b/msc/coredb_write_index_json.py @@ -9,6 +9,7 @@ from watpy.coredb.coredb import * db_path = './CoRe_DB_clone/' cdb = CoRe_db(db_path) +## cdb = CoRe_db(db_path, ifile = "json/DB_Hyb.json") #Use this for Hybrids! idb = cdb.idb # make sure the DB is up-to-date! @@ -24,4 +25,5 @@ idb.update_from_mdlist(mdlist) # write the index to JSON with the appropriate template idb.to_json_tmplk() +## idb.to_json_tmplk(tmpl = TXT_HYB) #Use this for Hybrids! -- GitLab