timothydmorton / isochrones

Pythonic stellar model grid access; easy MCMC fitting of stellar properties
http://isochrones.readthedocs.org
MIT License
123 stars 63 forks source link

nosetests #161

Open xiongheran opened 3 years ago

xiongheran commented 3 years ago

I think I meet some problems when run nosetests. The information is as following. Please some advice.

interpolating missing values in evolution tracks (feh=-1.0)': 92%|████████████████████████████████████████████████████████████████████████████████▊ | 79/86 [00:00<00:00, 330.96it/s] interpolating missing values in evolution tracks (feh=-1.0)': 92%|████████████████████████████████████████████████████████████████████████████████▊ | 79/86 [00:00<00:00, 294.80it/s] interpolating missing values in evolution tracks (feh=-1.0)': 92%|████████████████████████████████████████████████████████████████████████████████▊ | 79/86 [00:00<00:00, 340.63it/s] interpolating missing values in evolution tracks (feh=-1.0)': 92%|████████████████████████████████████████████████████████████████████████████████▊ | 79/86 [00:00<00:00, 332.91it/s] interpolating missing values in evolution tracks (feh=-1.0)': 92%|████████████████████████████████████████████████████████████████████████████████▊ | 79/86 [00:00<00:00, 331.04it/s] interpolating missing values in evolution tracks (feh=-1.0)': 92%|████████████████████████████████████████████████████████████████████████████████▊ | 79/86 [00:00<00:00, 365.30it/s] E...../Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/priors.py:89: RuntimeWarning: divide by zero encountered in true_divide sigma = 1.0 / np.sqrt(hn) ../Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/query/catalog.py:60: TableReplaceWarning: converted column 'extKey' from integer to float df = self.df.sort_values(by=self._distance_column) interpolating missing values in evolution tracks (feh=-1.0)': 92%|████████████████████████████████████████████████████████████████████████████████▊ | 79/86 [00:00<00:00, 348.66it/s] E...

ERROR: isochrones.tests.test_basic.test_tracks

Traceback (most recent call last): File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/tests/test_basic.py", line 34, in test_tracks _basic_ic_checks_tracks(mist) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/tests/test_basic.py", line 130, in _basic_ic_checks_tracks eep = ic.get_eep(mass, 9.6, feh, accurate=True) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 509, in get_eep return self.get_eep_accurate(mass, age, feh, **kwargs) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 558, in get_eep_accurate while np.isnan(self.mass_age_resid(eep0, mass, age, feh)): File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 686, in mass_age_resid age_interp = self.interp_value([mass, eep, feh], ["age"]) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 400, in interp_value return self.model_grid.interp(pars, props) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/grid.py", line 136, in interp self._interp = DFInterpolator(self.df, filename=filename, is_full=self.is_full) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 398, in df self._df = self.read_hdf() File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/grid.py", line 109, in read_hdf df = self.write_hdf(orig=orig) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/grid.py", line 113, in write_hdf df = self.get_df(orig=orig) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 114, in get_df df = self.df_all() File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 392, in df_all df = pd.concat([self.df_all_feh_interpolated(feh) for feh in self.fehs]) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 392, in df = pd.concat([self.df_all_feh_interpolated(feh) for feh in self.fehs]) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 358, in df_all_feh_interpolated mhi = masses[ihi] File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 3958, in getitem return getitem(key) IndexError: index 86 is out of bounds for axis 0 with size 86 -------------------- >> begin captured logging << -------------------- isochrones: INFO: Interpolating incomplete tracks for feh = -1.0 isochrones: INFO: 1.98: 1409 (expected 1710). Interpolating between 1.96 and 2.0 --------------------- >> end captured logging << ---------------------

====================================================================== ERROR: Failure: ModuleNotFoundError (No module named 'flaky')

Traceback (most recent call last): File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName addr.filename, addr.module) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/Users/heranxiong/anaconda3/lib/python3.7/imp.py", line 234, in load_module return load_source(name, filename, file) File "/Users/heranxiong/anaconda3/lib/python3.7/imp.py", line 171, in load_source module = _load(spec) File "", line 696, in _load File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/tests/test_fits.py", line 7, in from flaky import flaky ModuleNotFoundError: No module named 'flaky'

====================================================================== ERROR: Check mass, age, feh the same when dereddened

Traceback (most recent call last): File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/tests/test_populations.py", line 42, in setUp self.df = pop.generate(1000) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/populations.py", line 122, in generate kwargs, File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 640, in generate_binary values_A = self.generate(mass_A, age, feh, kwargs) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 718, in generate return self.track.generate(*args, kwargs) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 604, in generate eeps = self.get_eep(mass, age, feh, kwargs) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 535, in get_eep grid.masses, File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 189, in masses self._masses = np.array(self.df.index.levels[1]) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 398, in df self._df = self.read_hdf() File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/grid.py", line 109, in read_hdf df = self.write_hdf(orig=orig) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/grid.py", line 113, in write_hdf df = self.get_df(orig=orig) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 114, in get_df df = self.df_all() File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 392, in df_all df = pd.concat([self.df_all_feh_interpolated(feh) for feh in self.fehs]) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 392, in df = pd.concat([self.df_all_feh_interpolated(feh) for feh in self.fehs]) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 358, in df_all_feh_interpolated mhi = masses[ihi] File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 3958, in getitem return getitem(key) IndexError: index 86 is out of bounds for axis 0 with size 86 -------------------- >> begin captured logging << -------------------- isochrones: INFO: Interpolating incomplete tracks for feh = -1.0 isochrones: INFO: 1.98: 1409 (expected 1710). Interpolating between 1.96 and 2.0 --------------------- >> end captured logging << ---------------------

====================================================================== ERROR: test_extinction (isochrones.tests.test_populations.PopulationTest)

Traceback (most recent call last): File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/tests/test_populations.py", line 42, in setUp self.df = pop.generate(1000) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/populations.py", line 122, in generate kwargs, File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 640, in generate_binary values_A = self.generate(mass_A, age, feh, kwargs) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 718, in generate return self.track.generate(*args, kwargs) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 604, in generate eeps = self.get_eep(mass, age, feh, kwargs) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 535, in get_eep grid.masses, File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 189, in masses self._masses = np.array(self.df.index.levels[1]) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 398, in df self._df = self.read_hdf() File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/grid.py", line 109, in read_hdf df = self.write_hdf(orig=orig) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/grid.py", line 113, in write_hdf df = self.get_df(orig=orig) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 114, in get_df df = self.df_all() File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 392, in df_all df = pd.concat([self.df_all_feh_interpolated(feh) for feh in self.fehs]) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 392, in df = pd.concat([self.df_all_feh_interpolated(feh) for feh in self.fehs]) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 358, in df_all_feh_interpolated mhi = masses[ihi] File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 3958, in getitem return getitem(key) IndexError: index 86 is out of bounds for axis 0 with size 86 -------------------- >> begin captured logging << -------------------- isochrones: INFO: Interpolating incomplete tracks for feh = -1.0 isochrones: INFO: 1.98: 1409 (expected 1710). Interpolating between 1.96 and 2.0 --------------------- >> end captured logging << ---------------------

====================================================================== ERROR: Make sure corner case when regenerating 1 doesn't break.

Traceback (most recent call last): File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/tests/test_populations.py", line 42, in setUp self.df = pop.generate(1000) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/populations.py", line 122, in generate kwargs, File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 640, in generate_binary values_A = self.generate(mass_A, age, feh, kwargs) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 718, in generate return self.track.generate(*args, kwargs) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 604, in generate eeps = self.get_eep(mass, age, feh, kwargs) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 535, in get_eep grid.masses, File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 189, in masses self._masses = np.array(self.df.index.levels[1]) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 398, in df self._df = self.read_hdf() File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/grid.py", line 109, in read_hdf df = self.write_hdf(orig=orig) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/grid.py", line 113, in write_hdf df = self.get_df(orig=orig) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 114, in get_df df = self.df_all() File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 392, in df_all df = pd.concat([self.df_all_feh_interpolated(feh) for feh in self.fehs]) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 392, in df = pd.concat([self.df_all_feh_interpolated(feh) for feh in self.fehs]) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 358, in df_all_feh_interpolated mhi = masses[ihi] File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 3958, in getitem return getitem(key) IndexError: index 86 is out of bounds for axis 0 with size 86 -------------------- >> begin captured logging << -------------------- isochrones: INFO: Interpolating incomplete tracks for feh = -1.0 isochrones: INFO: 1.98: 1409 (expected 1710). Interpolating between 1.96 and 2.0 --------------------- >> end captured logging << ---------------------

====================================================================== ERROR: Check no total mags are null

Traceback (most recent call last): File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/tests/test_populations.py", line 42, in setUp self.df = pop.generate(1000) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/populations.py", line 122, in generate kwargs, File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 640, in generate_binary values_A = self.generate(mass_A, age, feh, kwargs) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 718, in generate return self.track.generate(*args, kwargs) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 604, in generate eeps = self.get_eep(mass, age, feh, kwargs) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 535, in get_eep grid.masses, File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 189, in masses self._masses = np.array(self.df.index.levels[1]) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 398, in df self._df = self.read_hdf() File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/grid.py", line 109, in read_hdf df = self.write_hdf(orig=orig) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/grid.py", line 113, in write_hdf df = self.get_df(orig=orig) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 114, in get_df df = self.df_all() File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 392, in df_all df = pd.concat([self.df_all_feh_interpolated(feh) for feh in self.fehs]) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 392, in df = pd.concat([self.df_all_feh_interpolated(feh) for feh in self.fehs]) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 358, in df_all_feh_interpolated mhi = masses[ihi] File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 3958, in getitem return getitem(key) IndexError: index 86 is out of bounds for axis 0 with size 86 -------------------- >> begin captured logging << -------------------- isochrones: INFO: Interpolating incomplete tracks for feh = -1.0 isochrones: INFO: 1.98: 1409 (expected 1710). Interpolating between 1.96 and 2.0 --------------------- >> end captured logging << ---------------------

====================================================================== ERROR: Test dereddening against version that regenerates population

Traceback (most recent call last): File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/tests/test_populations.py", line 42, in setUp self.df = pop.generate(1000) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/populations.py", line 122, in generate kwargs, File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 640, in generate_binary values_A = self.generate(mass_A, age, feh, kwargs) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 718, in generate return self.track.generate(*args, kwargs) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 604, in generate eeps = self.get_eep(mass, age, feh, kwargs) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 535, in get_eep grid.masses, File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 189, in masses self._masses = np.array(self.df.index.levels[1]) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 398, in df self._df = self.read_hdf() File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/grid.py", line 109, in read_hdf df = self.write_hdf(orig=orig) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/grid.py", line 113, in write_hdf df = self.get_df(orig=orig) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 114, in get_df df = self.df_all() File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 392, in df_all df = pd.concat([self.df_all_feh_interpolated(feh) for feh in self.fehs]) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 392, in df = pd.concat([self.df_all_feh_interpolated(feh) for feh in self.fehs]) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 358, in df_all_feh_interpolated mhi = masses[ihi] File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 3958, in getitem return getitem(key) IndexError: index 86 is out of bounds for axis 0 with size 86 -------------------- >> begin captured logging << -------------------- isochrones: INFO: Interpolating incomplete tracks for feh = -1.0 isochrones: INFO: 1.98: 1409 (expected 1710). Interpolating between 1.96 and 2.0 --------------------- >> end captured logging << ---------------------

====================================================================== ERROR: isochrones.tests.tests.test_tracks

Traceback (most recent call last): File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/tests/tests.py", line 34, in test_tracks _basic_ic_checks_tracks(mist) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/tests/tests.py", line 130, in _basic_ic_checks_tracks eep = ic.get_eep(mass, 9.6, feh, accurate=True) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 509, in get_eep return self.get_eep_accurate(mass, age, feh, **kwargs) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 558, in get_eep_accurate while np.isnan(self.mass_age_resid(eep0, mass, age, feh)): File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 686, in mass_age_resid age_interp = self.interp_value([mass, eep, feh], ["age"]) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 400, in interp_value return self.model_grid.interp(pars, props) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/grid.py", line 136, in interp self._interp = DFInterpolator(self.df, filename=filename, is_full=self.is_full) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 398, in df self._df = self.read_hdf() File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/grid.py", line 109, in read_hdf df = self.write_hdf(orig=orig) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/grid.py", line 113, in write_hdf df = self.get_df(orig=orig) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/models.py", line 114, in get_df df = self.df_all() File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 392, in df_all df = pd.concat([self.df_all_feh_interpolated(feh) for feh in self.fehs]) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 392, in df = pd.concat([self.df_all_feh_interpolated(feh) for feh in self.fehs]) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/mist/models.py", line 358, in df_all_feh_interpolated mhi = masses[ihi] File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 3958, in getitem return getitem(key) IndexError: index 86 is out of bounds for axis 0 with size 86 -------------------- >> begin captured logging << -------------------- isochrones: INFO: Interpolating incomplete tracks for feh = -1.0 isochrones: INFO: 1.98: 1409 (expected 1710). Interpolating between 1.96 and 2.0 --------------------- >> end captured logging << ---------------------

====================================================================== FAIL: isochrones.tests.test_ini.test_ini

Traceback (most recent call last): File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/tests/test_ini.py", line 14, in test_ini _check_ini(MIST) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/tests/test_ini.py", line 26, in _check_ini SingleCheck().check(ic, os.path.join(FOLDER, d)) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/tests/test_ini.py", line 70, in check self.check_asserts(mod) File "/Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/tests/test_ini.py", line 55, in check_asserts assert np.isfinite(mod.lnlike(eep_pars)) AssertionError: -------------------- >> begin captured stdout << --------------------- checking /Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/tests/star1 root ╚═ WISE W1=(12.00, 0.05) @(0.00, 0 [4.00]) ╚═ WISE W2=(11.50, 0.05) @(0.00, 0 [4.00]) ╚═ twomass H=(12.85, 0.02) @(0.00, 0 [4.00]) ╚═ twomass J=(13.51, 0.02) @(0.00, 0 [4.00]) ╚═ twomass K=(12.69, 0.02) @(0.00, 0 [4.00]) ╚═ 0_0, Teff=[4135.0, 98.0], feh=[-0.46, 0.16], logg=[4.711, 0.1] ([1.0, 9.4, 0.0, 100, 0.2], [333.8023567199707, 9.4, 0.0, 100, 0.2])

--------------------- >> end captured stdout << ---------------------- -------------------- >> begin captured logging << -------------------- isochrones: DEBUG: Initializing StarModel from /Users/heranxiong/anaconda3/lib/python3.7/site-packages/isochrones/tests/star1/star.ini isochrones: DEBUG: Obs is root --------------------- >> end captured logging << ---------------------


Ran 33 tests in 126.006s

FAILED (errors=8, failures=1)