-
-
Notifications
You must be signed in to change notification settings - Fork 430
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
Kd final test #664
Conversation
- /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
72cc928
to
4bae49a
Compare
4bae49a
to
46f0016
Compare
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) |
There was a problem hiding this comment.
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/" |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
This is the final branch of @karandesai-96 's work and is being reviewed for merging - it combines #631 #643