Get rid of SourceSite class and just use ndarray with compound datatype

This commit is contained in:
Paul Romano 2015-09-16 16:50:11 +07:00
parent 97a7582c44
commit 9bd1dc0cb9
3 changed files with 7 additions and 64 deletions

View file

@ -26,7 +26,7 @@ class SourcepointTestHarness(TestHarness):
outstr = TestHarness._get_results(self)
# Add the source information.
xyz = sp.source[0].xyz
xyz = sp.source[0]['xyz']
outstr += ' '.join(['{0:12.6E}'.format(x) for x in xyz])
outstr += "\n"