Skip to content

Commit

Permalink
Merge pull request #340 from pwrose/master
Browse files Browse the repository at this point in the history
upgraded to new RCSB webservices
  • Loading branch information
pwrose committed Jan 26, 2022
2 parents a8fec84 + e0a2dee commit 47391f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mmtfPyspark/webfilters/sequenceSimilarity.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,14 @@ def __init__(self, sequence, target="Protein", evalue_cutoff=0.1, identity_cutof
# result_type, identifiers, scores = post_query(query)
# self.structureIds = set(identifiers)
self.filter = AdvancedQuery(query)
self.structureIds = self.filter.structureIds
self.result_type = self.filter.result_type
self.structureIds = self.filter.get_structure_ids()
self.result_type = self.filter.get_result_type()

def get_structure_ids(self):
return list(self.structureIds)

def get_result_type(self):
return self.filter.result_type
return self.result_type


def __call__(self, t):
Expand Down

0 comments on commit 47391f7

Please sign in to comment.