Skip to content

Commit

Permalink
Use absolute path for layout
Browse files Browse the repository at this point in the history
  • Loading branch information
mole99 committed Aug 19, 2024
1 parent 2f8428d commit ff89f76
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 2.4.8

## Common

- Use absolute path for layout

# 2.4.7

## Common
Expand Down
2 changes: 1 addition & 1 deletion cace/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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='')
2 changes: 1 addition & 1 deletion cace/parameter/parameter_magic_area.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion cace/parameter/parameter_magic_drc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit ff89f76

Please sign in to comment.