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

A working solution for "HTTPError: 400 Client Error". #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tinchogb
Copy link

Updated:

  • API URL to support secure http, "https".
  • service for attribute "chem_comp.name", "text_comp".
  • class Terminal. Now to_dict() adds "negation" if it is only True,
    otherwise brokes, don't know why.
  • class TextQuery. Now support service argument with "full_text" value.
  • class Attr. Now contains_words() allows chem_comp.name service.

Tested on both supplied rcsbsearch notebooks:

Worked OK but should be checked.

- API URL to support secure http, "https".
- service for attribute "chem_comp.name", "text_comp".
- class Terminal. Now to_dict() adds "negation" if it is only True,
  otherwise brokes, don't know why.
- class TextQuery. Now support service argument with "full_text" value.
- class Attr. Now contains_words() allows chem_comp.name service.
Tested on both notebooks. Worked OK but should be checked.
@piehld
Copy link

piehld commented Sep 15, 2023

Nice patch! FYI: #4 (comment)

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

Successfully merging this pull request may close these issues.

2 participants