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

QGL/QGL/awg doesn't exist by default; causes errors #106

Open
dellard opened this issue Jun 12, 2017 · 1 comment
Open

QGL/QGL/awg doesn't exist by default; causes errors #106

dellard opened this issue Jun 12, 2017 · 1 comment

Comments

@dellard
Copy link
Contributor

dellard commented Jun 12, 2017

If QGL/QGL/awg doesn't already exist, then creating the subdirectory for the results fails, halting compile_to_hardware:

  File "../../src/python/pyqgl2/main.py", line 401, in <module>
    opts.suffix)
  File "../../src/python/pyqgl2/main.py", line 342, in qgl2_compile_to_hardware
    return compile_to_hardware([scheduled_seq], filename, suffix)
  File "/home/dellard/github/QGL/QGL/Compiler.py", line 316, in compile_to_hardware
    save_code(seqs, fileName + suffix)
  File "/home/dellard/github/QGL/QGL/Compiler.py", line 754, in save_code
    os.mkdir(targetFolder)

This might be my fault (maybe there are instructions I overlooked, that said to create that directory).

@blakejohnson
Copy link
Collaborator

No, you are right. This needs to be updated to recursively create the required directories.

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