[0, 0, 0,  ..] Evals True
On Apr 5, 2014 11:16 AM, "Joshua Shorenstein" <notifications@github.com>
wrote:

> In skbio/format/stockholm.py:
>
> > +                    GF_lines.append(' '.join(["#=GF", "NH", str(tree)]))
> > +            elif feature == "RT":
> > +                #make sure each reference block stays together
> > +                #set up lists to zip in case some bits are missing
> > +                #create rn list if needed: always have to have numbered refs
> > +                rn = stdata.GF["RN"] if "RN" in stdata.GF else ["[%i]" % x for
> > +                     x in range(1, len(value)+1)]
> > +                rm = stdata.GF["RM"] if "RM" in stdata.GF else [0]*len(value)
> > +                rt = stdata.GF["RT"] if "RT" in stdata.GF else [0]*len(value)
> > +                ra = stdata.GF["RA"] if "RA" in stdata.GF else [0]*len(value)
> > +                rl = stdata.GF["RL"] if "RL" in stdata.GF else [0]*len(value)
> > +                rc = stdata.GF["RC"] if "RC" in stdata.GF else [0]*len(value)
> > +                #order: RN, RM, RT, RA, RL, RC
> > +                for n, m, t, a, l, c in zip(rn, rm, rt, ra, rl, rc):
> > +                    GF_lines.append(' '.join(["#=GF", "RN", n]))
> > +                    if m:
>
> all the zeros are false, so the if m: checks if there is something there
> or if it's just a blank.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/biocore/scikit-bio/pull/249/files#r11322399>
> .
>