Skip to content

Commit

Permalink
Add a cache=True arg in calling atom data download method.
Browse files Browse the repository at this point in the history
  • Loading branch information
Karan Desai committed Aug 6, 2016
1 parent 48f111f commit 4bc3c2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tardis/tests/integration_tests/artis/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ model:
type: file

structure:
filename: artis_model.dat
filename: densities.dat
filetype: artis
type: file
# v_lowest: 9000.0 km/s
Expand Down
4 changes: 2 additions & 2 deletions tardis/tests/integration_tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ def setup(self, request, reference, data_path):

# Download and cache the atom data file
atom_data_filepath = download_file("{url}/{name}".format(
url=data_path['atom_data_url'], name=atom_data_name
))
url=data_path['atom_data_url'], name=atom_data_name), cache=True
)

# Load atom data file separately, pass it for forming tardis config.
self.atom_data = AtomData.from_hdf5(atom_data_filepath)
Expand Down

0 comments on commit 4bc3c2e

Please sign in to comment.