Spaces:
Running
Running
Erva Ulusoy
commited on
Commit
·
28510ad
1
Parent(s):
8fa6245
Update run_domain2go_app.py
Browse files- run_domain2go_app.py +1 -1
run_domain2go_app.py
CHANGED
@@ -76,7 +76,7 @@ def find_domains(email, sequence, name):
|
|
76 |
# entries[entry['accession']]['locations'] = sorted(entries[entry['accession']]['locations'], key=lambda x: int(x.split('-')[0]))
|
77 |
entries[entry['accession']]['locations'] = sorted([i.split('-') for i in entries[entry['accession']]['locations']], key=lambda x: (int(x[0]), int(x[1])))
|
78 |
entries[entry['accession']]['locations'] = ['-'.join(i) for i in entries[entry['accession']]['locations']]
|
79 |
-
entries[entry['accession']]['locations'] = '|'.join(entries[entry['accession']]['locations'])
|
80 |
|
81 |
if entries:
|
82 |
result_text = 'Domains found.'
|
|
|
76 |
# entries[entry['accession']]['locations'] = sorted(entries[entry['accession']]['locations'], key=lambda x: int(x.split('-')[0]))
|
77 |
entries[entry['accession']]['locations'] = sorted([i.split('-') for i in entries[entry['accession']]['locations']], key=lambda x: (int(x[0]), int(x[1])))
|
78 |
entries[entry['accession']]['locations'] = ['-'.join(i) for i in entries[entry['accession']]['locations']]
|
79 |
+
# entries[entry['accession']]['locations'] = '|'.join(entries[entry['accession']]['locations'])
|
80 |
|
81 |
if entries:
|
82 |
result_text = 'Domains found.'
|