diff --git a/build_db.py b/build_db.py index 322254c..aaa5e52 100644 --- a/build_db.py +++ b/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() \ No newline at end of file