Skip to content

Commit

Permalink
fix: end slash breaks query for rcsb search
Browse files Browse the repository at this point in the history
  • Loading branch information
ppillot committed Jun 23, 2024
1 parent 79737f9 commit b373d1c
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/components/SearchPDB2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,13 @@ export default {
this.suggestions.splice(0)
return
}
const xml = `<orgPdbQuery>
<queryType>org.pdb.query.simple.AdvancedKeywordQuery</queryType>
<description>Text Search</description>
<keywords>${queryString}</keywords>
</orgPdbQuery>`
source = CancelToken.source()
axios.post('https://search.rcsb.org/rcsbsearch/v1/query/',
axios.post('https://search.rcsb.org/rcsbsearch/v2/query',
{
return_type: 'entry',
query: {
type: 'terminal',
service: 'text',
service: 'full_text',
parameters: {
value: queryString
}
Expand Down

0 comments on commit b373d1c

Please sign in to comment.