mirror of https://github.com/openXC7/prjxray.git
run make format
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
This commit is contained in:
parent
5f12851934
commit
d571c0c014
|
|
@ -117,7 +117,8 @@ class Segmaker:
|
||||||
|
|
||||||
def load_grid(self):
|
def load_grid(self):
|
||||||
'''Load self.grid holding tile addresses'''
|
'''Load self.grid holding tile addresses'''
|
||||||
with open(os.path.join(self.db_root, self.part, "tilegrid.json"), "r") as f:
|
with open(os.path.join(self.db_root, self.part, "tilegrid.json"),
|
||||||
|
"r") as f:
|
||||||
self.grid = json.load(f)
|
self.grid = json.load(f)
|
||||||
assert "segments" not in self.grid, "Old format tilegrid.json"
|
assert "segments" not in self.grid, "Old format tilegrid.json"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue