<s> """<STR_LIT>""" <EOL> import sys <EOL> from . . pakbase import Package <EOL> class ModflowSwr1 ( Package ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , model , extension = '<STR_LIT>' , unitnumber = <NUM_LIT> ) : <EOL> """<STR_LIT>""" <EOL> Package . __init__ ( self , model , extension , '<STR_LIT>' , <EOL> unitnumber ) <EOL> if model . version == '<STR_LIT>' or model . version == '<STR_LIT>' : <EOL> err = '<STR_LIT>' . format ( <EOL> self . name , model . version ) <EOL> raise Exception ( err ) <EOL> self . heading = '<STR_LIT>' <EOL> self . url = '<STR_LIT>' <EOL> self . parent . add_package ( self ) <EOL> def write_file ( self ) : <EOL> """<STR_LIT>""" <EOL> print ( '<STR_LIT>' ) <EOL> @ staticmethod <EOL> def load ( f , model , ext_unit_dict = None ) : <EOL> """<STR_LIT>""" <EOL> if model . verbose : <EOL> sys . stdout . write ( '<STR_LIT>' ) <EOL> if not hasattr ( f , '<STR_LIT>' ) : <EOL> filename = f <EOL> f = open ( filename , '<STR_LIT:r>' ) <EOL> print ( '<STR_LIT>' ) <EOL> f . close ( ) <EOL> swr1 = ModflowSwr1 ( model ) <EOL> return swr1 </s>
