Skip to content

Commit

Permalink
Tracker alignment validation, made eosdir a mandatory input to avoid …
Browse files Browse the repository at this point in the history
…outputs being overwritten owing to default names.
  • Loading branch information
muhammadansariqbal committed Oct 19, 2018
1 parent 7e01e40 commit 3de7fc0
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,12 @@ def getGeneral( self ):
"jobmode":"interactive",
"datadir":os.getcwd(),
"logdir":os.getcwd(),
"eosdir": "",
}
self.checkInput("general", knownSimpleOptions = defaults.keys())
general = self.getResultingSection( "general", defaultDict = defaults )
mandatories = [
"eosdir",
]
self.checkInput("general", knownSimpleOptions = defaults.keys() + mandatories)
general = self.getResultingSection( "general", defaultDict = defaults, demandPars = mandatories )
internal_section = "internals"
if not self.has_section(internal_section):
self.add_section(internal_section)
Expand Down

0 comments on commit 3de7fc0

Please sign in to comment.