[hg] galaxy 1569: Fix for mapping unit test. Testing of metadat...
details: http://www.bx.psu.edu/hg/galaxy/rev/df07d0c2830f changeset: 1569:df07d0c2830f user: Dan Blankenberg <dan@bx.psu.edu> date: Wed Oct 22 14:27:57 2008 -0400 description: Fix for mapping unit test. Testing of metadata elements requires a valid datatype. 1 file(s) affected in this change: lib/galaxy/model/mapping_tests.py diffs (12 lines): diff -r 0b022adfdc34 -r df07d0c2830f lib/galaxy/model/mapping_tests.py --- a/lib/galaxy/model/mapping_tests.py Wed Oct 22 13:49:22 2008 -0400 +++ b/lib/galaxy/model/mapping_tests.py Wed Oct 22 14:27:57 2008 -0400 @@ -16,7 +16,7 @@ #h1.queries.append( model.Query( "h1->q2" ) ) h2 = model.History( name=( "H" * 1024 ) ) #q1 = model.Query( "h2->q1" ) - d1 = model.HistoryDatasetAssociation( metadata=dict(chromCol=1,startCol=2,endCol=3 ), history=h2, create_dataset=True ) + d1 = model.HistoryDatasetAssociation( extension="interval", metadata=dict(chromCol=1,startCol=2,endCol=3 ), history=h2, create_dataset=True ) #h2.queries.append( q1 ) #h2.queries.append( model.Query( "h2->q2" ) ) model.context.current.flush()
participants (1)
-
Nate Coraor