Loading astrort/configure/check_configuration.py +2 −1 Original line number Diff line number Diff line Loading @@ -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): Loading astrort/configure/test.yml +2 −1 Original line number Diff line number Diff line Loading @@ -15,7 +15,8 @@ visibility: logging: level: CRITICAL logfile: logfile: test.log datfile: test.dat slurm: nodes: 5 Loading Loading
astrort/configure/check_configuration.py +2 −1 Original line number Diff line number Diff line Loading @@ -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): Loading
astrort/configure/test.yml +2 −1 Original line number Diff line number Diff line Loading @@ -15,7 +15,8 @@ visibility: logging: level: CRITICAL logfile: logfile: test.log datfile: test.dat slurm: nodes: 5 Loading