<s> import yaml <EOL> import copy <EOL> class JointPoseDictionary ( object ) : <EOL> def __init__ ( self , path_to_yaml ) : <EOL> f = open ( path_to_yaml ) <EOL> self . _d = copy . deepcopy ( yaml . load ( f ) ) <EOL> f . close ( ) <EOL> def __getitem__ ( self , k ) : <EOL> return self . _d [ k ] <EOL> def __str__ ( self ) : <EOL> return str ( self . _d ) </s>
