doSummary.py 374 B

1234567891011121314151617181920
  1. import analysis
  2. import sys
  3. import os
  4. import getData
  5. import json
  6. import config
  7. import segmentation
  8. def main(configFile):
  9. with open(configFile,'r') as f:
  10. xsetup=json.load(f)
  11. db,fb=getData.connectDB(xsetup['network'])
  12. summaryIVF=analysis.summaryPixelIVF(db,fb,xsetup)
  13. analysis.storeIVF(db,xsetup,summaryIVF)
  14. if __name__=="__main__":
  15. main(sys.argv[1])