Skip to content
Snippets Groups Projects
Commit 27de8773 authored by Alejandra Gonzalez's avatar Alejandra Gonzalez
Browse files

Added options for hybrids

parent a488dbc8
No related branches found
No related tags found
No related merge requests found
...@@ -9,6 +9,7 @@ from watpy.coredb.coredb import * ...@@ -9,6 +9,7 @@ from watpy.coredb.coredb import *
db_path = './CoRe_DB_clone/' db_path = './CoRe_DB_clone/'
cdb = CoRe_db(db_path) cdb = CoRe_db(db_path)
## cdb = CoRe_db(db_path, ifile = "json/DB_Hyb.json") #Use this for Hybrids!
idb = cdb.idb idb = cdb.idb
# make sure the DB is up-to-date! # make sure the DB is up-to-date!
...@@ -24,4 +25,5 @@ idb.update_from_mdlist(mdlist) ...@@ -24,4 +25,5 @@ idb.update_from_mdlist(mdlist)
# write the index to JSON with the appropriate template # write the index to JSON with the appropriate template
idb.to_json_tmplk() idb.to_json_tmplk()
## idb.to_json_tmplk(tmpl = TXT_HYB) #Use this for Hybrids!
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment