@@ -74,7 +74,7 @@ def verify_chunk_LTT0( self, chunk ) :
74
74
self .assertEqual ( 18 , chunk .MT )
75
75
self .assertEqual ( 18 , chunk .section_number )
76
76
77
- self .assertAlmostEqual ( 92235. , chunk .ZA )
77
+ self .assertEqual ( 92235 , chunk .ZA )
78
78
self .assertAlmostEqual ( 2.330250e+2 , chunk .AWR )
79
79
self .assertAlmostEqual ( 2.330250e+2 , chunk .atomic_weight_ratio )
80
80
@@ -108,7 +108,7 @@ def verify_chunk_LTT1( self, chunk ) :
108
108
self .assertEqual ( 2 , chunk .MT )
109
109
self .assertEqual ( 2 , chunk .section_number )
110
110
111
- self .assertAlmostEqual ( 92235. , chunk .ZA )
111
+ self .assertEqual ( 92235 , chunk .ZA )
112
112
self .assertAlmostEqual ( 2.330250e+2 , chunk .AWR )
113
113
self .assertAlmostEqual ( 2.330250e+2 , chunk .atomic_weight_ratio )
114
114
@@ -197,7 +197,7 @@ def verify_chunk_LTT2( self, chunk ) :
197
197
self .assertEqual ( 2 , chunk .MT )
198
198
self .assertEqual ( 2 , chunk .section_number )
199
199
200
- self .assertAlmostEqual ( 92235. , chunk .ZA )
200
+ self .assertEqual ( 92235 , chunk .ZA )
201
201
self .assertAlmostEqual ( 2.330250e+2 , chunk .AWR )
202
202
self .assertAlmostEqual ( 2.330250e+2 , chunk .atomic_weight_ratio )
203
203
@@ -316,7 +316,7 @@ def verify_chunk_LTT3( self, chunk ) :
316
316
self .assertEqual ( 2 , chunk .MT )
317
317
self .assertEqual ( 2 , chunk .section_number )
318
318
319
- self .assertAlmostEqual ( 92235. , chunk .ZA )
319
+ self .assertEqual ( 92235 , chunk .ZA )
320
320
self .assertAlmostEqual ( 2.330250e+2 , chunk .AWR )
321
321
self .assertAlmostEqual ( 2.330250e+2 , chunk .atomic_weight_ratio )
322
322
@@ -491,7 +491,7 @@ def verify_chunk_LTT3( self, chunk ) :
491
491
chunk .to_string ( 9228 , 4 ) )
492
492
493
493
# the data is given explicitly for LTT=0
494
- chunk = Section ( mt = 18 , lct = 1 , zaid = 92235. , awr = 2.330250e+2 ,
494
+ chunk = Section ( mt = 18 , lct = 1 , zaid = 92235 , awr = 2.330250e+2 ,
495
495
distributions = Isotropic () )
496
496
497
497
verify_chunk_LTT0 ( self , chunk )
@@ -520,7 +520,7 @@ def verify_chunk_LTT3( self, chunk ) :
520
520
distributions = [ LegendreCoefficients ( 1e-5 , [ 7.392510e-5 , 8.477139e-9 , 1.17106e-13 ] ),
521
521
LegendreCoefficients ( 2e+7 , [ 2.874390e-2 , 3.19645e-11 ] ) ] )
522
522
523
- chunk = Section ( mt = 2 , lct = 1 , zaid = 92235. , awr = 2.330250e+2 ,
523
+ chunk = Section ( mt = 2 , lct = 1 , zaid = 92235 , awr = 2.330250e+2 ,
524
524
distributions = distributions )
525
525
526
526
verify_chunk_LTT1 ( self , chunk )
@@ -549,7 +549,7 @@ def verify_chunk_LTT3( self, chunk ) :
549
549
distributions = [ TabulatedDistribution ( 1e-5 , [ 2 ], [ 2 ], [ - 1.0 , 1.0 ], [ 0.5 , 0.5 ] ),
550
550
TabulatedDistribution ( 2e+7 , [ 3 ], [ 2 ], [ - 1.0 , 0.0 , 1.0 ], [ 0.0 , 1.0 , 0.0 ] ) ] )
551
551
552
- chunk = Section ( mt = 2 , lct = 1 , zaid = 92235. , awr = 2.330250e+2 ,
552
+ chunk = Section ( mt = 2 , lct = 1 , zaid = 92235 , awr = 2.330250e+2 ,
553
553
distributions = distributions )
554
554
555
555
verify_chunk_LTT2 ( self , chunk )
@@ -583,7 +583,7 @@ def verify_chunk_LTT3( self, chunk ) :
583
583
[ TabulatedDistribution ( 1e+6 , [ 2 ], [ 2 ], [ - 1.0 , 1.0 ], [ 0.5 , 0.5 ] ),
584
584
TabulatedDistribution ( 2e+7 , [ 3 ], [ 2 ], [ - 1.0 , 0.0 , 1.0 ], [ 0.0 , 1.0 , 0.0 ] ) ] ) )
585
585
586
- chunk = Section ( mt = 2 , lct = 1 , zaid = 92235. , awr = 2.330250e+2 ,
586
+ chunk = Section ( mt = 2 , lct = 1 , zaid = 92235 , awr = 2.330250e+2 ,
587
587
distributions = distributions )
588
588
589
589
verify_chunk_LTT3 ( self , chunk )
0 commit comments