def save_yaml(self, outFile):
        """saves the config parameters to a json file"""
        with open(outFile,'w') as myfile:
            print(yaml.dump(self.params), file=myfile)
def save_yaml ( self , outFile ) : with open ( outFile , 'w' ) as myfile : print ( yaml . dump ( self . params ) , file = myfile )
saves the config parameters to a json file