From 08b93b015e729c30ae5e34508f9056a8e53bc839 Mon Sep 17 00:00:00 2001 From: Alihossein Date: Fri, 29 Mar 2024 18:14:16 -0600 Subject: [PATCH] Add set_operation_mode_json method to DatabaseManager --- transistordatabase/examples/first_example.py | 1 + 1 file changed, 1 insertion(+) diff --git a/transistordatabase/examples/first_example.py b/transistordatabase/examples/first_example.py index 5febc47..360de28 100644 --- a/transistordatabase/examples/first_example.py +++ b/transistordatabase/examples/first_example.py @@ -56,6 +56,7 @@ def example_update_from_online_database(): # handle the path to the DatabaseManager(path), to handle a custom database folder to the manager. path = os.path.join(os.path.dirname(os.path.abspath(__file__)), "tdb_example_downloaded") db = DatabaseManager() + db.set_operation_mode_json(path) db.update_from_fileexchange(True) # Compare local database to exchange database: