rcsbsearch icon indicating copy to clipboard operation
rcsbsearch copied to clipboard

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

Open tinchogb opened this issue 3 years ago • 1 comments

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.

tinchogb avatar Feb 14 '22 15:02 tinchogb

Nice patch! FYI: https://github.com/sbliven/rcsbsearch/issues/4#issuecomment-1721469353

piehld avatar Sep 15 '23 16:09 piehld