diff --git a/masque/file/oasis.py b/masque/file/oasis.py index ad08623..0e2305a 100644 --- a/masque/file/oasis.py +++ b/masque/file/oasis.py @@ -453,6 +453,8 @@ def read( for placement in cell.placements: target, ref = _placement_to_ref(placement, lib) + if isinstance(target, int): + target = lib.cellnames[target].nstring.string pat.refs[target].append(ref) mlib[cell_name] = pat