Commit 882ca6ee authored by Ambra Di Piano's avatar Ambra Di Piano
Browse files

add datfile

parent 377ac18e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -45,10 +45,11 @@ class CheckConfiguration():
        return self

    def check_logging(self):
        keys = ['level', 'logfile']
        keys = ['level', 'logfile', 'datfile']
        assert self.conf['logging'].keys() == keys
        assert (type(self.conf['logging']['level']) == str or type(self.conf['logging']['level']) == int) 
        assert type(self.conf['logging']['logfile']) == str 
        assert type(self.conf['logging']['datfile']) == str 
        return self
    
    def check_slurm(self):
+2 −1
Original line number Diff line number Diff line
@@ -15,7 +15,8 @@ visibility:

logging:
  level: CRITICAL
  logfile:
  logfile: test.log
  datfile: test.dat

slurm:
  nodes: 5