Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kd final test #664

Merged
merged 38 commits into from
Nov 25, 2016
Merged

Kd final test #664

merged 38 commits into from
Nov 25, 2016

Conversation

wkerzendorf
Copy link
Member

This is the final branch of @karandesai-96 's work and is being reviewed for merging - it combines #631 #643

Karan Desai and others added 30 commits July 22, 2016 16:28
- /simulation/model/plasma/ion_number_density
- /simulation/model/plasma/level_number_density
- /simulation/model/plasma/electron_densities
- /simulation/model/plasma/tau_sobolevs
- /simulation/model/plasma/transition_probabilities
pytest.skip('{0} not calculated in this run'.format(
reference_quantity_name))
reference_quantity = self.reference[reference_quantity_name]
tardis_quantity = eval('self.result.' + tardis_quantity_name)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getattr(self.result, tardis_quantity_name, None)

# Path to directory where reference HDF files will be generated and
# saved during the test run. Use "--generate-reference" flag in command
# line args for the purpose, for other cases this will be simply ignored.
generate_reference: "~/projects/tardis/integration/"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this later


.. code-block::

> python setup.py test --args="--integration=integration.yml -m integration
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line should be updated.

We want two lines. One for generating the reference, one for running the tests.

Copy link
Contributor

@yeganer yeganer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@wkerzendorf wkerzendorf merged commit ae42530 into tardis-sn:master Nov 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants