Added a many2sql class that allows to have multiple pdb files in the same database under different tables. Using this we can easily obtain the intersection between the different tables, i.e. extract the common part of the different structures contained in the database.
Many changes happened under pdb2sql so that we can easily use it as a super class for many2pdb
The superpose function now checks that the selection have identical length and if they don't use a many2sql to get the intersection between the two structures.
Added a
many2sql
class that allows to have multiple pdb files in the same database under different tables. Using this we can easily obtain the intersection between the different tables, i.e. extract the common part of the different structures contained in the database.Many changes happened under
pdb2sql
so that we can easily use it as a super class formany2pdb
The
superpose
function now checks that the selection have identical length and if they don't use amany2sql
to get the intersection between the two structures.