Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Error running fold_feat_gen.py #1

Closed
aiXander opened this issue Jun 30, 2021 · 1 comment
Closed

Error running fold_feat_gen.py #1

aiXander opened this issue Jun 30, 2021 · 1 comment

Comments

@aiXander
Copy link

I'm getting errors running the preprocessing script:

total number of seqs: 470679
removed # seqs in ss.txt: 9337
Traceback (most recent call last):
  File "fold_feat_gen.py", line 154, in <module>
    x1,x2 = selection(line[0] ,  line[2], int(line[3]), int(line[4]), seq_ss)  
  File "fold_feat_gen.py", line 44, in selection
    start = start.replace(')','')
AttributeError: 'int' object has no attribute 'replace'

start and end are integers when I print them, so doesn't make sense that a string replace is applied to them... Any idea what's going on here?

@YueCao94
Copy link
Contributor

We really thank you for your question! It is actually a bug in the code and we have fixed it.

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

No branches or pull requests

2 participants