mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 10:20:34 +05:00
Merge remote branch 'origin/fbt/SMESH_Plugin_Verima_fix_ImportExport'
This commit is contained in:
commit
45b7e5c3e1
@ -24,6 +24,7 @@ if __name__ == "__main__":
|
|||||||
exit()
|
exit()
|
||||||
|
|
||||||
maBase=Base(options.database)
|
maBase=Base(options.database)
|
||||||
|
maBase.create()
|
||||||
maBase.initialise()
|
maBase.initialise()
|
||||||
maBase.importFromCSV(folder,options.partiel,options.force)
|
maBase.importFromCSV(folder,options.partiel,options.force)
|
||||||
maBase.close()
|
maBase.close()
|
||||||
|
@ -4,8 +4,8 @@ from tableDeBase import TableDeBase
|
|||||||
class TablePerfs (TableDeBase):
|
class TablePerfs (TableDeBase):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
TableDeBase.__init__(self,"Perfs")
|
TableDeBase.__init__(self,"Perfs")
|
||||||
self.setField(('Maillage','Version','NbSecCpu','Memoire'))
|
self.setField(('Maillage','Version','Machine','NbSecCpu','Memoire'))
|
||||||
self.setTypeField(('int','int','int','int'),('idMaillage','idVersion','Machine'))
|
self.setTypeField(('int','int','str','int','int'),('idMaillage','idVersion','Machine'))
|
||||||
|
|
||||||
def createSqlTable(self):
|
def createSqlTable(self):
|
||||||
query=QtSql.QSqlQuery()
|
query=QtSql.QSqlQuery()
|
||||||
|
Loading…
Reference in New Issue
Block a user