Prepare database
This commit is contained in:
11
build_db.py
11
build_db.py
@@ -1,10 +1,15 @@
|
||||
from tjnetwork import *
|
||||
|
||||
# bwsn fail to update control ...
|
||||
file = 'fengxian'
|
||||
files = [
|
||||
'exnet',
|
||||
'fengxian',
|
||||
'jbh',
|
||||
'net3'
|
||||
]
|
||||
|
||||
def inp2db():
|
||||
read_inp(file, f'./inp/{file}.inp')
|
||||
for file in files:
|
||||
read_inp(file, f'./inp/{file}.inp')
|
||||
|
||||
if __name__ == '__main__':
|
||||
inp2db()
|
||||
Reference in New Issue
Block a user