Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"No Xsection file found" in technology package. #23

Open
calebjordan opened this issue Jun 3, 2020 · 1 comment
Open

"No Xsection file found" in technology package. #23

calebjordan opened this issue Jun 3, 2020 · 1 comment

Comments

@calebjordan
Copy link

We released a package recently for a technology that contains an xsection script. I couldn't find any documentation on where these files should be placed, but looked at the code and see it's looking for an 'xsect' folder in the base path. I have structured our package this way, but xsection still can't activate the technology.

Any ideas what I'm doing wrong?

https://github.com/seeqc/qc_1ka_pdk

Thanks!

@Grandement
Copy link

Hi @calebjordan,
I faced the same issue on Windows. Seems a slash/backslash issue with the paths. I thought ruby would handle it but seems not to be the case.
I changed line 99 of https://github.com/klayoutmatthias/xsection/blob/master/src/ruby/xsection_script.rb from:
xsect_fileglob = File.join(xsect_dir, '*.xs')
to
xsect_fileglob = File.join(xsect_dir, '*.xs').gsub('\\','/')
Then the glob method works well. Maybe it could be added in a new release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants