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

"AttributeError: 'ExactPosition' object has no attribute 'position' when using QUEEN(seq='...')" in Colab #11

Open
OMTikker opened this issue Dec 27, 2023 · 4 comments

Comments

@OMTikker
Copy link

When running the Example code 1 (Create a QUEEN class object (blunt-ends), dna = QUEEN(seq="CCGGTATGCGTCGA")) in Colab, I now get the "AttributeError". This error has probably occurred between 20-25.12 2023. I have tried with both versions in Colab (queen=1.1.0 and 1.2.0). Interestingly, it works locally in jupyter notebook.

image
@OMTikker OMTikker changed the title "AttributeError: 'ExactPosition' object has no attribute 'position' when using QUEEN(seq='...')" "AttributeError: 'ExactPosition' object has no attribute 'position' when using QUEEN(seq='...')" in Colab Dec 27, 2023
@ponnhide
Copy link
Collaborator

Thank you for your report. The issue stems from a recent update in Biopython, where the newest version has removed the location.position parameter. Consequently, this is causing the error in QUEEN that you've encountered.
I am currently working on updating QUEEN to be compatible with the new Biopython version.
I apologize for the inconvenience and appreciate your understanding.

@OMTikker
Copy link
Author

OMTikker commented Jan 3, 2024 via email

@yyigitgezer
Copy link

Thank you for your report. The issue stems from a recent update in Biopython, where the newest version has removed the location.position parameter. Consequently, this is causing the error in QUEEN that you've encountered. I am currently working on updating QUEEN to be compatible with the new Biopython version. I apologize for the inconvenience and appreciate your understanding.

which version of biopython module should I use to not encounter this problem ?

@ponnhide
Copy link
Collaborator

The latest version in the GitHub repository is compatible with the newest BioPython. You can install it from the repository directory. However, please note that the GitHub version is still under development, even on the 'master' branch, so please check for updates periodically. Once the development reaches a certain level, I will update the version on pip. Sorry for the inconvenience.

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

3 participants