Currently the betas, chains, elements, moltypes, names, resids, resnames, segnames, and occupancies properties of the sasmol objects are lists. Their nature of only containing the unique elements corresponds better with the set data structure, which only keeps unique elements, rather than the list data structure. Sets also bring combination operators, e.g., addition and subtraction, that would be useful.
Currently the
betas
,chains
,elements
,moltypes
,names
,resids
,resnames
,segnames
, andoccupancies
properties of the sasmol objects are lists. Their nature of only containing the unique elements corresponds better with the set data structure, which only keeps unique elements, rather than the list data structure. Sets also bring combination operators, e.g., addition and subtraction, that would be useful.