func parseRunYAML(fn string) (run *engexport.RunConfig, err error) {
	if engexport.FileExists(fn) {
		run, err = engexport.LoadRun(fn)
	}
	//Apply defaults.
	if len(run.OutDir) == 0 {
		run.OutDir = "data"
	}
	return run, err
}
//parseRunYAML parses the contents of "run.yaml" (if it exists) and returns
//a RunConfig object.
parseRunYAML parses the contents of "run.yaml" (if it exists) and returns
a RunConfig object.
// parseRunYAML parses the contents of " run . yaml " ( if it exists ) and returns // a RunConfig object .
func parseRunYAML(fn string) (run *engexport.RunConfig, err error) {
	if engexport.FileExists(fn) {
		run, err = engexport.LoadRun(fn)
	}
	if len(run.OutDir) == 0 {
		run.OutDir = "data"
	}
	return run, err
}
func parseRunYAML ( fn string ) ( run * engexport . RunConfig , err error ) { if engexport . FileExists ( fn ) { run , err = engexport . LoadRun ( fn ) } if len ( run . OutDir ) == 0 { run . OutDir = " " } return run , err }
parseRunYAML parses the contents of "run.yaml" (if it exists) and returns
a RunConfig object.
parseRunYAML parses the contents of " run . yaml " ( if it exists ) and returns a RunConfig object .
//Apply defaults.