|
@@ -391,6 +391,10 @@ def importData(pars,filename,getId=getId,modify=modify,\
|
|
|
# print('{}: {}'.format(p,len(pMap[p])))
|
|
|
print(entries)
|
|
|
#delete previous incarnations
|
|
|
+ loadSafely(pars,entries,dryRun)
|
|
|
+
|
|
|
+def loadSafely(pars,entries,dryRun=True):
|
|
|
+
|
|
|
db=getDB(pars)
|
|
|
project=pars.get('project','DCIS/Study')
|
|
|
schema=pars.get('schema','demographics')
|