def setUp(self): self.date = str(datetime.date.today()) self.folder = os.path.join("tests", "test_%s" % self.date) self.custom_command = ( "run -N 1 -p test_gaussian.param -o %s" % self.folder + " -m NS --NS_n_live_points 30 --NS_max_iter 10" ) self.cosmo, self.data, self.command_line, _ = initialise(self.custom_command)
def setUp(self): self.date = str(datetime.date.today()) self.custom_command = ( 'run -N 1 -p test.param -o tests/test_%s' % self.date + ' -m CH') self.cosmo, self.data, self.command_line, _ = initialise( self.custom_command)
def setUp(self): self.date = str(datetime.date.today()) self.folder = os.path.join("tests", "test06_%s" % self.date) self.number = 30 self.custom_command = "run -N %d -p test.param -o %s" % (self.number, self.folder) self.cosmo, self.data, self.command_line, _ = initialise(self.custom_command) sampler.run(self.cosmo, self.data, self.command_line)
def setUp(self): self.date = str(datetime.date.today()) self.custom_command = ( 'run -N 1 -p input/test.param -o tests/test_%s' % self.date + ' -m CH') self.cosmo, self.data, self.command_line, _ = initialise( self.custom_command)
def setUp(self): self.date = str(datetime.date.today()) self.folder = os.path.join( 'tests', 'test04_%s' % self.date) self.custom_command = ( 'run -N 1 -p test.param -o %s' % self.folder) self.cosmo, self.data, self.command_line, _ = initialise( self.custom_command)
def setUp(self): self.date = str(datetime.date.today()) self.folder = os.path.join('tests', 'test_%s' % self.date) self.custom_command = ( 'run -N 1 -p input/test_gaussian.param -o %s' % self.folder + ' -m PC --PC_nlive 30 --PC_max_ndead 10') self.cosmo, self.data, self.command_line, _ = initialise( self.custom_command)
def setUp(self): self.date = str(datetime.date.today()) self.folder = os.path.join('tests', 'test_%s' % self.date) self.custom_command = ( 'run -N 1 -p input/test_gaussian.param -o %s' % self.folder + ' -m NS --NS_n_live_points 30 --NS_max_iter 10') self.cosmo, self.data, self.command_line, _ = initialise( self.custom_command)
def setUp(self): self.date = str(datetime.date.today()) self.folder = os.path.join( 'tests', 'test04_%s' % self.date) self.custom_command = ( 'run -N 1 -p input/test.param -o %s' % self.folder) self.cosmo, self.data, self.command_line, _ = initialise( self.custom_command)
def setUp(self): self.date = str(datetime.date.today()) self.folder = os.path.join('tests', 'test05_%s' % self.date) self.number = 30 self.custom_command = ('run -N %d -p test.param -o %s -j fast' % (self.number, self.folder)) self.cosmo, self.data, self.command_line, _ = initialise( self.custom_command)
def setUp(self): self.date = str(datetime.date.today()) self.folder = os.path.join( 'tests', 'test05_%s' % self.date) self.number = 30 self.custom_command = ( 'run -N %d -p test.param -o %s -j fast' % (self.number, self.folder)) self.cosmo, self.data, self.command_line, _ = initialise( self.custom_command)
def setUp(self): self.date = str(datetime.date.today()) self.folder = os.path.join("tests", "test02_%s" % self.date) self.custom_command = "run -N 1 -p test.param -o %s" % self.folder try: self.cosmo, self.data, self.command_line, _ = initialise(self.custom_command) except io_mp.ConfigurationError: raise io_mp.ConfigurationError( "For the test suite to run, you need to have" " your default.conf properly configured" )
def setUp(self): self.date = str(datetime.date.today()) self.folder = os.path.join('tests', 'test02_%s' % self.date) self.custom_command = ('run -N 1 -p test.param -o %s' % self.folder) try: self.cosmo, self.data, self.command_line, _ = initialise( self.custom_command) except io_mp.ConfigurationError: raise io_mp.ConfigurationError( "For the test suite to run, you need to have" " your default.conf properly configured")
def setUp(self): self.date = str(datetime.date.today()) self.custom_command = ( '-N 1 -p test.param -o tests/test_%s' % self.date) try: self.cosmo, self.data, self.command_line, _ = initialise( self.custom_command) except io_mp.ConfigurationError: raise io_mp.ConfigurationError( "For the test suite to run, you need to have" " your default.conf properly configured")