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

Rendering a repressor fails #14

Open
PiotrZakrzewski opened this issue Mar 23, 2024 · 0 comments
Open

Rendering a repressor fails #14

PiotrZakrzewski opened this issue Mar 23, 2024 · 0 comments

Comments

@PiotrZakrzewski
Copy link
Contributor

Try running

pigeon synbiotools_examples/p2.pigeon

It fails with

Traceback (most recent call last):
  File "/mnt/c/Users/piotr/code/pigeon/.venv/bin/pigeon", line 8, in <module>
    sys.exit(main())
  File "/mnt/c/Users/piotr/code/pigeon/cmdline.py", line 40, in main
    parser.parseAndGenerateImage(data)
  File "/mnt/c/Users/piotr/code/pigeon/pigeon/Pigeon.py", line 47, in parseAndGenerateImage
    start, end = dr.renderDNA(axis, design, part_renderers, regs = arcs, reg_renderers=dr.std_reg_renderers(), plot_vector=pigeon_listener.has_vector, vector_label=pigeon_listener.vector_label)
  File "/mnt/c/Users/piotr/code/pigeon/pigeon/dnaplotlib.py", line 3184, in renderDNA
    arcstart = (reg['from_part']['start'] + reg['from_part']['end']) / 2
TypeError: string indices must be integers

The offending lines are:

c1 rep p1
c2 rep p2
y1 rep c1-p1
x1 rep c2-p2
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

1 participant