\begin{Verbatim}[commandchars=\\\{\}]
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{k}{for} \PYG{n}{model} \PYG{o+ow}{in} \PYG{n}{structure}\PYG{o}{.}\PYG{n}{get\PYGZus{}list}\PYG{p}{():}
\PYG{g+gp}{... }    \PYG{k}{for} \PYG{n}{chain} \PYG{o+ow}{in} \PYG{n}{model}\PYG{o}{.}\PYG{n}{get\PYGZus{}list}\PYG{p}{():}
\PYG{g+gp}{... }        \PYG{k}{for} \PYG{n}{residue} \PYG{o+ow}{in} \PYG{n}{chain}\PYG{o}{.}\PYG{n}{get\PYGZus{}list}\PYG{p}{():}
\PYG{g+gp}{... }            \PYG{k}{if} \PYG{n}{residue}\PYG{o}{.}\PYG{n}{is\PYGZus{}disordered}\PYG{p}{():}
\PYG{g+gp}{... }                \PYG{k}{for} \PYG{n}{atom} \PYG{o+ow}{in} \PYG{n}{residue}\PYG{o}{.}\PYG{n}{get\PYGZus{}list}\PYG{p}{():}
\PYG{g+gp}{... }                    \PYG{k}{if} \PYG{n}{atom}\PYG{o}{.}\PYG{n}{is\PYGZus{}disordered}\PYG{p}{():}
\PYG{g+gp}{... }                        \PYG{k}{if} \PYG{n}{atom}\PYG{o}{.}\PYG{n}{disordered\PYGZus{}has\PYGZus{}id}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}A\PYGZdq{}}\PYG{p}{):}
\PYG{g+gp}{... }                            \PYG{n}{atom}\PYG{o}{.}\PYG{n}{disordered\PYGZus{}select}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}A\PYGZdq{}}\PYG{p}{)}
\PYG{g+gp}{...}
\end{Verbatim}
