[50a3f7]: / modules / IndexedDB / IDBManager.py

Download this file

31 lines (24 with data), 690 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#IDBManager.py
"""
Deep Learning for Cancer Therapy
Authors:
Kumud Ravisankaran | Valeria Brewer
Ninad Mehta | Suraj Jena
"""
import sys
sys.path.append('../')
sys.dont_write_bytecode = True
from Status.Status import Status
from DLL import _DLL
from FoldManager import generateFolds
class IDBManager():
def __init__(self, path, folds):
self.status = Status("IDBManager")
self.path = path
self.folds = folds
def createFolds(self):
self.status.message(1,"createFolds(self)")
self.newList = _DLL()
self.List = generateFolds(self.path, self.newList, self.folds)
self.status.message(0,"createFolds(self)")
return self.List