diff --git a/Changelog.md b/Changelog.md index 6d19206..3921834 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,3 +1,9 @@ +# 2.4.8 + +## Common + +- Use absolute path for layout + # 2.4.7 ## Common diff --git a/cace/__version__.py b/cace/__version__.py index 563f0b1..b02f4cf 100644 --- a/cace/__version__.py +++ b/cace/__version__.py @@ -11,7 +11,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -__version__ = '2.4.7' +__version__ = '2.4.8' if __name__ == '__main__': print(__version__, end='') diff --git a/cace/parameter/parameter_magic_area.py b/cace/parameter/parameter_magic_area.py index fe9c4f1..087c44b 100755 --- a/cace/parameter/parameter_magic_area.py +++ b/cace/parameter/parameter_magic_area.py @@ -113,7 +113,7 @@ def implementation(self): magic_input += f'path search +{os.path.abspath(os.path.dirname(layout_filepath))}\n' magic_input += f'load {os.path.basename(layout_filepath)}\n' else: - magic_input += f'gds read {layout_filepath}\n' + magic_input += f'gds read {os.path.abspath(layout_filepath)}\n' magic_input += 'set toplist [cellname list top]\n' magic_input += 'set numtop [llength $toplist]\n' magic_input += 'if {$numtop > 1} {\n' diff --git a/cace/parameter/parameter_magic_drc.py b/cace/parameter/parameter_magic_drc.py index 0d27038..28f9b21 100755 --- a/cace/parameter/parameter_magic_drc.py +++ b/cace/parameter/parameter_magic_drc.py @@ -102,7 +102,7 @@ def implementation(self): else: if self.get_argument('gds_flatten'): magic_input += 'gds flatglob *\n' - magic_input += f'gds read {layout_filepath}\n' + magic_input += f'gds read {os.path.abspath(layout_filepath)}\n' magic_input += 'set toplist [cellname list top]\n' magic_input += 'set numtop [llength $toplist]\n' magic_input += 'if {$numtop > 1} {\n'