def read_skel(self, fid):
lin = self.read_line(fid)<EOL>while lin:<EOL><INDENT>if lin[<NUM_LIT:0>]=='<STR_LIT::>':<EOL><INDENT>if lin[<NUM_LIT:1>:]== '<STR_LIT:name>':<EOL><INDENT>lin = self.read_line(fid)<EOL>self.name = lin<EOL><DEDENT>elif lin[<NUM_LIT:1>:]=='<STR_LIT>':<EOL><INDENT>lin = self.read_units(fid)<EOL><DEDENT>elif lin[<NUM_LIT:1>:]=='<STR_LIT>':<EOL><INDENT>lin = self.read_documentation(fid)<EOL><DEDENT>elif lin[<NUM_LIT:1>:]=='<STR_LIT:root>':<EOL><INDENT>lin = self.read_root(fid)<EOL><DEDENT>elif lin[<NUM_LIT:1>:]=='<STR_LIT>':<EOL><INDENT>lin = self.read_bonedata(fid)<EOL><DEDENT>elif lin[<NUM_LIT:1>:]=='<STR_LIT>':<EOL><INDENT>lin = self.read_hierarchy(fid)<EOL><DEDENT>elif lin[<NUM_LIT:1>:<NUM_LIT:8>]=='<STR_LIT:version>':<EOL><INDENT>lin = self.read_line(fid)<EOL>continue<EOL><DEDENT>else: <EOL><INDENT>if not lin:<EOL><INDENT>self.finalize()<EOL>return<EOL><DEDENT>lin = self.read_line(fid)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>self.finalize()<EOL><DEDENT>
Loads an acclaim skeleton format from a file stream.