Hi Chris,
I ran the megateste again and there is no error. I changed my script and it
will send email to you only if there is an error in protest.py & megatest.
And I ran all tests for Python 2.6 and found some errors. Megatest has no
errors for Python 2.6.
======== pygrtest_common.py error
Traceback (most recent call last):
File "protest.py", line 12, in <module>
import pygrtest_common
File "/result/pygr_megatest/src_save/pygr/tests/pygrtest_common.py", line
21, in <module>
ver = ".".join(platform.python_version_tuple()[:2])
TypeError: sequence item 0: expected string, int found
======== fixes for pygrtest_common.py
ver = ".".join(map(str, platform.python_version_tuple()[:2]))
======== sequence_test.py error
/result/pygr_megatest/src_save/pygr/build/lib.linux-x86_64-2.6/pygr/seqdb.py:309:
DeprecationWarning:
os.popen2 is deprecated. Use the subprocess module.
ifile,ofile=os.popen2(cmd)
Traceback (most recent call last):
File "protest.py", line 123, in <module>
if do_test(sys.argv[2],sys.argv[3],sys.argv[4]):
File "protest.py", line 33, in do_test
m()
File "/result/pygr_megatest/src_save/pygr/tests/sequence_test.py", line
88, in blast_test
minAlignSize=14,pIdentityMin=0.5)
File "pygr.cnestedlist.pyx", line 599, in
pygr.cnestedlist.NLMSASlice.edges
File "pygr.cnestedlist.pyx", line 831, in
pygr.cnestedlist.NLMSASlice.groupByIntervals
File "pygr.cnestedlist.pyx", line 882, in
pygr.cnestedlist.NLMSASlice.filterIvalConservation
TypeError: 'dict' object doesn't support item deletion
FINAL: 1 error(s) in 124 tests, 27 skipped in 44.459 sec
Thanks,
Namshin Kim
MEGATEST on Tue Oct 21 17:19:46 2008
Tue Oct 21 16:52:05 PDT 2008
.......................................SSSSSSSSSSS.......SSSSSSSS..................................................SSSSSSSS
============================================================
SKIPPED: graph_test.SQLGraph_Test.basicquery_test()
SKIPPED: graph_test.SQLGraph_Test.cyclicacyclicquery_test()
SKIPPED: graph_test.SQLGraph_Test.cyclicquery_test()
SKIPPED: graph_test.SQLGraph_Test.delraise_test()
SKIPPED: graph_test.SQLGraph_Test.filteredquery_test()
SKIPPED: graph_test.SQLGraph_Test.graphdict_test()
SKIPPED: graph_test.SQLGraph_Test.graphedges_test()
SKIPPED: graph_test.SQLGraph_Test.headlessquery_test()
SKIPPED: graph_test.SQLGraph_Test.nodedel_test()
SKIPPED: graph_test.SQLGraph_Test.setitemraise_test()
SKIPPED: graph_test.SQLGraph_Test.symmetricquery_test()
SKIPPED: pygrdata_test.Seq_SQL2_Test.bind_test()
SKIPPED: pygrdata_test.Seq_SQL2_Test.dir_test()
SKIPPED: pygrdata_test.Seq_SQL2_Test.match_test()
SKIPPED: pygrdata_test.Seq_SQL2_Test.schema_test()
SKIPPED: pygrdata_test.Seq_SQL_Test.bind_test()
SKIPPED: pygrdata_test.Seq_SQL_Test.dir_test()
SKIPPED: pygrdata_test.Seq_SQL_Test.match_test()
SKIPPED: pygrdata_test.Seq_SQL_Test.schema_test()
SKIPPED: sqltable_test.SQLTable_Test.contains_test()
SKIPPED: sqltable_test.SQLTable_Test.get_test()
SKIPPED: sqltable_test.SQLTable_Test.has_key_test()
SKIPPED: sqltable_test.SQLTable_Test.items_test()
SKIPPED: sqltable_test.SQLTable_Test.iteritems_test()
SKIPPED: sqltable_test.SQLTable_Test.iterkeys_test()
SKIPPED: sqltable_test.SQLTable_Test.itervalues_test()
SKIPPED: sqltable_test.SQLTable_Test.keys_test()
FINAL: 0 error(s) in 124 tests, 27 skipped in 48.974 sec
/result/pygr_megatest/src_save/pygr/build/lib.linux-x86_64-2.5
...........
============================================================
FINAL: 0 error(s) in 12 tests, 0 skipped in 1578.523 sec
On Wed, Oct 22, 2008 at 6:22 AM, Christopher Lee <[EMAIL PROTECTED]> wrote:
>
> Hi Namshin,
> I added a fix for the megatest problem you were experiencing:
> - added a clear_cache() method,
> - switched annotation megatests to use that instead of clear().
>
> So the annotation megatests should run now.
> -- Chris
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pygr-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pygr-dev?hl=en
-~----------~----~----~----~------~----~------~--~---