On Wed, Jun 10, 2009 at 7:41 PM, Arlindo da Silva <da...@al...>wrote:
> All,
> I am in the process of merging the trunk (CVS module: Grads) with COLA's
> 2.0.a6. Please refrain from checking in/out to/from the TRUNK until I am
> done.
>
I am done with the merger. However, "make check" reports 2 problems:
======================================================================
ERROR: test_03_Display (TestModelFile.grads_url)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/dasilva/src/2/Grads/pytests/TestModelFile.py", line 249, in
test_03_Display
self._CheckCint('ua',-12,18,3,z=1,t=1)
File "/Users/dasilva/src/2/Grads/pytests/TestModelFile.py", line 268, in
_CheckCint
self.assertEqual(cmin,int(self.ga.rword(1,2)))
ValueError: invalid literal for int() with base 10: '-9e+08'
======================================================================
FAIL: test_01_Stats (TestModelFile.grads_stn)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/dasilva/src/2/Grads/pytests/TestModelFile.py", line 314, in
test_01_Stats
self._stats( 'slp',
'2842','-999','1496','982.5','1046.5','985','1045','5')
File "/Users/dasilva/src/2/Grads/pytests/TestModelFile.py", line 326, in
_stats
self.assertEqual(v_undef,ga.rword(7,4))
AssertionError: '-999' != '-9.99e+08'
I can reproduce these errors with COLA builds, so I think is something in
COLA's codebase.
Jennifer: I posted something on gradsusr regarding "test_03_Display" (undef
handling with gradsdap). The second error may not be an error, simply the
fact that we have now a different value for UNDEFs. Correct?
Arlindo
--
Arlindo da Silva
da...@al...
|