-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8ad5570
commit 97dae8b
Showing
1 changed file
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,17 @@ | ||
# %% | ||
import sqlite3 | ||
from applications.database_maintenance import create_openstudio_standards_database_from_json | ||
conn = sqlite3.connect('openstudio_standards.db') | ||
from applications.database_maintenance import ( | ||
create_openstudio_standards_database_from_json, | ||
) | ||
|
||
conn = sqlite3.connect("openstudio_standards.db") | ||
create_openstudio_standards_database_from_json(conn) | ||
conn.close() | ||
# %% | ||
from applications.database_maintenance import export_openstudio_standards_database_to_json | ||
conn = sqlite3.connect('openstudio_standards.db') | ||
export_openstudio_standards_database_to_json(conn, save_dir='./database_files/') | ||
from applications.database_maintenance import ( | ||
export_openstudio_standards_database_to_json, | ||
) | ||
|
||
conn = sqlite3.connect("openstudio_standards.db") | ||
export_openstudio_standards_database_to_json(conn, save_dir="./database_files/") | ||
# %% |