Skip to content

Commit

Permalink
Reform the directory structure.
Browse files Browse the repository at this point in the history
- Move w7_13d out of tests/data.
  • Loading branch information
karandesai-96 committed Mar 12, 2016
1 parent bc2a601 commit 300fc15
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 3 deletions.
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ class TestW7:
@classmethod
@pytest.fixture(scope="class", autouse=True)
def setup(self):
self.w7_config_filepath = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'data/w7_13d/tardis_w7.yml')
self.w7_config_filepath = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'tardis_w7.yml')
self.atom_data_filepath = '/tmp/kurucz_chianti_cd23_H_He.h5'
self.obtained_w7_radial1d_model = tardis.run_tardis(config=self.w7_config_filepath,
atom_data=self.atom_data_filepath)

self.expected_w7_ndarrays = np.load(
os.path.join(os.path.dirname(os.path.realpath(__file__)), 'data/w7_13d/expected_ndarrays.npz')
os.path.join(os.path.dirname(os.path.realpath(__file__)), 'expected_ndarrays.npz')
)

self.expected_w7_astropy_quantities = np.load(
os.path.join(os.path.dirname(os.path.realpath(__file__)), 'data/w7_13d/expected_quantities.npz')
os.path.join(os.path.dirname(os.path.realpath(__file__)), 'expected_quantities.npz')
)

def test_j_estimators(self):
Expand Down
File renamed without changes.

0 comments on commit 300fc15

Please sign in to comment.