FU Logo
  • Startseite
  • Kontakt
  • Impressum
  • Home
  • Listenauswahl
  • Anleitungen

Re: [Seqan-dev] Failed to create ticket on trac: concatenator iterator problems

<-- thread -->
<-- date -->
  • From: "Weese, David" <weese@campus.fu-berlin.de>
  • To: SeqAn Development <seqan-dev@lists.fu-berlin.de>
  • Date: Sun, 7 Aug 2011 12:06:33 +0200
  • Acceptlanguage: de-DE
  • Reply-to: SeqAn Development <seqan-dev@lists.fu-berlin.de>
  • Subject: Re: [Seqan-dev] Failed to create ticket on trac: concatenator iterator problems

Fixed in [10228]. Thanks for reporting.

Regards,
David

Am 04.08.2011 um 16:51 schrieb John Reid:

> My ticket was rejected as spam so I'm posting it here:
> 
> I think the difference between the end and the begin iterators of an 
> infix in a ConcatenatorManyToOne object should equal the length. The 
> length reports 4 which is correct. The difference does not equal 4. I'm 
> using svn revision 10211.
> 
> 
> {{{
> #include <seqan/sequence.h>
> #include <stdexcept>
> 
> using namespace seqan;
> 
> typedef String< Dna5 >                        string_t;
> typedef StringSet< string_t >                 string_set_t;
> typedef ConcatenatorManyToOne< string_set_t > concatenator_t;
> typedef Infix< concatenator_t >::Type         infix_t;
> 
> int
> main( int argc, char * argv [] ) {
>     string_set_t seqs;
>     appendValue( seqs, string_t( "ACGT" ) );
>     concatenator_t concat( seqs );
>     infix_t in( concat, 0, 4 );
>     if( 4 != length( in ) ) throw std::logic_error( "length() not 
> working." );
>     if( difference( begin( in ), end( in ) ) != length( in ) ) throw 
> std::logic_error( "difference() not working." );
>     return 0;
> }
> 
> }}}
> 
> 
> _______________________________________________
> seqan-dev mailing list
> seqan-dev@lists.fu-berlin.de
> https://lists.fu-berlin.de/listinfo/seqan-dev




<-- thread -->
<-- date -->
  • References:
    • [Seqan-dev] Failed to create ticket on trac: concatenator iterator problems
      • From: John Reid <j.reid@mail.cryst.bbk.ac.uk>
  • seqan-dev - August 2011 - Archives indexes sorted by:
    [ thread ] [ subject ] [ author ] [ date ]
  • Complete archive of the seqan-dev mailing list
  • More info on this list...

Hilfe

  • FAQ
  • Dienstbeschreibung
  • ZEDAT Beratung
  • postmaster@lists.fu-berlin.de

Service-Navigation

  • Startseite
  • Listenauswahl

Einrichtung Mailingliste

  • ZEDAT-Portal
  • Mailinglisten Portal