(sourcePath, destObj)
| 120 | return self[name] |
| 121 | |
| 122 | def InitIndex(sourcePath, destObj): |
| 123 | with open(sourcePath, "r") as sourceFile: |
| 124 | sourceData = sourceFile.read() |
| 125 | sourceObj = json.loads(sourceData) |
| 126 | for key in sourceObj: |
| 127 | destObj[key] = sourceObj[key] |
| 128 | # remove vtkHttpDataSetReader information |
| 129 | for obj in destObj["scene"]: |
| 130 | obj.pop(obj["type"]) |
| 131 | obj.pop("type") |
| 132 | |
| 133 | def getUrlToNameDictionary(indexObj): |
| 134 | urls = {} |
no test coverage detected