fix: Fixed some paths/imports to handle the OpenDb->odb name change. …#2375
Conversation
…TCL/python regressions work now (fail after The-OpenROAD-Project#7 due to a different issue) Signed-off-by: Harsh Vardhan <openroad@chez-vardhan.com>
|
@maliberty @vvbandeira Decided to keep it simple and closed the other request. I hope this looks more reasonable. odb python/TCL regressions are working for me after these changes (they did not before). |
|
So the renaming of |
|
Hi DonI have a lot to learn 😁. Let me try to fix this and I will add you as a reviewer to the pull request to ensure that I have not missed anything. Thank you Sent from my iPhoneOn Oct 17, 2022, at 6:34 PM, Don MacMillen ***@***.***> wrote:
So the renaming of opendbpy to odbpy works OK with the stand alone exe in build/src/odb/src/swig/python/odbpy but it does not work with using openroad -python. There we must use import odb, (which I prefer). I also believe we should be testing openroad -python. I would like to move to pytest, and I can make these changes at that time, if you like.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were assigned.Message ID: ***@***.***>
|
|
Sounds good! |
|
@macd I tried to run openedroad -python and this is what I got: Looking through the code I also see: I could definitely use some help on how to see the problem you are describing. |
|
[WARNING ORD-0040] looks to be surprious. @proppy is this due to your recent change? You should be at the OR prompt with a python interpreter. |
|
Hmm, is there a separate OR prompt? I haven't seen that but I have seen the ORD-0040 error, but just discounted it. I usually just get the Python prompt. This is what I see on then trying to import odbpy However, importing odb works just fine here. |
…TCL/python regressions work now (fail after #7 due to a different issue)
Signed-off-by: Harsh Vardhan openroad@chez-vardhan.com