Skip to content

Commit

Permalink
debug(precheck): dump yaml data
Browse files Browse the repository at this point in the history
  • Loading branch information
htfab committed Apr 30, 2024
1 parent 8466ae0 commit 0ffb58b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions precheck/precheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ def main():
yaml_dir = os.path.dirname(os.path.dirname(args.gds))
yaml_file = f"{yaml_dir}/info.yaml"
yaml_data = yaml.safe_load(open(yaml_file))
logging.info("yaml data:" + str(yaml_data))
tiles = yaml_data.get("project", {}).get("tiles", "1x1")
is_analog = yaml_data.get("pinout", {}).get("analog_pins", 0) > 0
if is_analog:
Expand Down

0 comments on commit 0ffb58b

Please sign in to comment.