You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For v0.3.70 and v0.3.71, the get_technology_by_name function expects the cml file with the naming convention name_vxxx.cml. If there are some cml files not following the naming convention, the get_technology_by_name function will crash. Can we have a default version in case the cml file name doesn't have _v?
Thanks,
Jin
The text was updated successfully, but these errors were encountered:
Hi Lukas,
In the get_technolgy_by_name function, can we replace the following line at
2 locations
*cml_name, cml_version = file.split('_v', 1) *
with
* try:*
* cml_name, cml_version = file.split('_v', 1)*
* except:*
* cml_name=file[:-4]*
* cml_version="default.cml"*
It seems to fix my technology loading issue when there are cml files but
the cml file name doesn't have '_v' in it. I am not sure the default
version needs to be anything special for any downstream process. The code
already handles technology without any cml files.
Thanks,
Jin
For v0.3.70 and v0.3.71, the get_technology_by_name function expects the cml file with the naming convention name_vxxx.cml. If there are some cml files not following the naming convention, the get_technology_by_name function will crash. Can we have a default version in case the cml file name doesn't have _v?
Thanks,
Jin
The text was updated successfully, but these errors were encountered: