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

Saving cadnano 2 file corrupts it #187

Closed
mmguar opened this issue Apr 7, 2021 · 1 comment
Closed

Saving cadnano 2 file corrupts it #187

mmguar opened this issue Apr 7, 2021 · 1 comment

Comments

@mmguar
Copy link

mmguar commented Apr 7, 2021

I am working on a cadnano 2 file and any change (or no change), followed by a save in cadnano in 2.5, will corrupt the file making it unreadable by both cadnano 2 and cadnano 2.5.
Cadnano 2.5 will open it but the path view will be completely empty and only show the (correct) number of helices in the slice view.

Additionally: delete does not seem to work (signaled by another user on gitter) and opening a json when another one is open throws exception:

Traceback (most recent call last):
  File "/home/matteo/.local/lib/python3.9/site-packages/cadnano/views/pathview/strand/stranditem.py", line 153, in strandRemovedSlot
    self.destroyItem()
  File "/home/matteo/.local/lib/python3.9/site-packages/cadnano/views/pathview/strand/stranditem.py", line 170, in destroyItem
    insertionItem.remove()
AttributeError: 'InsertionItem' object has no attribute 'remove'
Aborted (core dumped)

While I know this is just one bug, the additional issue might make clear to you what is wrong in my installation. I will open other Issues otherwise.

Cadnano 2.5.2 from github on python 3.9.2 on linux

@mmguar mmguar closed this as completed Apr 7, 2021
@mmguar
Copy link
Author

mmguar commented Apr 7, 2021

I understand now this is issue #182

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