Sorting#

class biotite.database.rcsb.Sorting(field, descending=True)[source]#

Bases: object

get_content()#

Get the sorting content, i.e. the data belonging to the 'sort' and 'ranking_criteria_type' attributes in the RCSB search API.

This content is converted into JSON by the search() function.

Returns:
contentdict

The content dictionary for the 'sort' and 'ranking_criteria_type' attributes.