Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

## Re: [Gramps-devel] implex on CountAncestors ...

 Re: [Gramps-devel] implex on CountAncestors ... From: Brian Matherly - 2006-04-29 23:20:52 ```> this patch could fix a "display" mistake for this >plugin !!! Jerome, I'm not positive, but that numbering scheme might be intentional. On some levels, it makes sense to me that if I consider myself generation 0, then my children are generation 1, my grand children are generation 2. If that is the case, then I suppose my parents would have to be generation -1 and my grandparents would have to be generation -2. I'm not the most experienced geneologist. Perhaps someone with more experience than me could chime in here. What is the standard way to enumerate genrations? ~Brian ```

 [Gramps-devel] implex on CountAncestors ... From: - 2006-04-26 08:18:12 ```Hi, I want to add an "implex" function on the plugin "CountAncestors". Implex is the report between the real ancestors / and the theorical ancestors, (=blood marriages), seems to be only in European program (french, german, ...), I don't find a definition in English !!! [A-B] C-D E-F [A-B] (6/8 75%) a b c d (4/4 100%) 1 2 (2/2 100%) x But I don't really know how to make that :( Otherwise, maybe this patch could fix a "display" mistake for this plugin !!! --- /src/plugins/CountAncestors2.0.11.py +++ /src/plugins/CountAncestors.py @@ -70,12 +70,12 @@ title = _("Number of ancestors of \"%s\" by generation") % person.get_primary_name().get_name() text += title + ':\n' thisgensize = 1 - gen = 1 + gen = 0 while thisgensize > 0: thisgensize = 0 if thisgen: thisgensize = len( thisgen ) - gen -= 1 + gen += 1 if thisgensize == 1 : text += _("Generation %d has 1 individual.\n") % (gen) else: @@ -97,7 +97,7 @@ all.add(mother_handle) allgen += len(thisgen) - text += _("Total ancestors in generations %d to -1 is %d.\n") % (gen, allgen) + text += _("Total ancestors in generations 1 to %d to is %d.\n") % (gen, allgen) top = topDialog.get_widget("summary") textwindow = topDialog.get_widget("textwindow") ___________________________________________________________________________ Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services prr: vfiez vos nouveaux mails, lancez vos recherches et suivez l'actualitn temps r. Rendez-vous sur http://fr.yahoo.com/set ```
 Re: [Gramps-devel] implex on CountAncestors ... From: - 2006-04-26 10:16:28 ```For implex, should gramps use the "ancestors found" or "natural ancestors" : 1;1 2;2 3;4 4;8 5;16 6;32 7;64 8;128 9;256 10;512 11;1024 12;2048 13;4096 14;8192 15;16384 16;32768 ...etc... 40;549755813888 !!! everybody have implex somewhere ... If you don't like the implex idea, you can choice the value ;) (all ancestors or only ancestors found) An other function will be "% of ancestors found per generation" Jérôme Jérôme a écrit : > Hi, > > I want to add an "implex" function on the plugin "CountAncestors". > Implex is the report between the real ancestors / and the theorical > ancestors, (=blood marriages), seems to be only in European program > (french, german, ...), I don't find a definition in English !!! > > [A-B] C-D E-F [A-B] (6/8 75%) > a b c d (4/4 100%) > 1 2 (2/2 100%) > x > > But I don't really know how to make that :( > Otherwise, maybe this patch could fix a "display" mistake for this > plugin !!! > > > --- /src/plugins/CountAncestors2.0.11.py > +++ /src/plugins/CountAncestors.py > @@ -70,12 +70,12 @@ > title = _("Number of ancestors of \"%s\" by generation") % > person.get_primary_name().get_name() > text += title + ':\n' > thisgensize = 1 > - gen = 1 > + gen = 0 > while thisgensize > 0: > thisgensize = 0 > if thisgen: > thisgensize = len( thisgen ) > - gen -= 1 > + gen += 1 > if thisgensize == 1 : > text += _("Generation %d has 1 individual.\n") % (gen) > else: > @@ -97,7 +97,7 @@ > all.add(mother_handle) > allgen += len(thisgen) > > - text += _("Total ancestors in generations %d to -1 is %d.\n") % > (gen, allgen) > + text += _("Total ancestors in generations 1 to %d to is %d.\n") > % (gen, allgen) > > top = topDialog.get_widget("summary") > textwindow = topDialog.get_widget("textwindow") ___________________________________________________________________________ Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services prr: vfiez vos nouveaux mails, lancez vos recherches et suivez l'actualitn temps r. Rendez-vous sur http://fr.yahoo.com/set ```
 Re: [Gramps-devel] implex on CountAncestors ... From: Brian Matherly - 2006-04-29 23:23:47 Attachments: generations.JPG ```>An other function will be "% of ancestors found per generation" > >J=C3=A9r=C3=B4me Jerome, =20 I can imagine how this might be useful. I took a stab at it in the 2.1 bra= nch of code. The result is what you see in this attachment. =20 What does everyone think about this? =20 I have commited it to SVN, but it can be easily removed. =20 ~Brian =20 =20 ```
 Re: [Gramps-devel] implex on CountAncestors ... From: Brian Matherly - 2006-04-29 23:20:52 ```> this patch could fix a "display" mistake for this >plugin !!! Jerome, I'm not positive, but that numbering scheme might be intentional. On some levels, it makes sense to me that if I consider myself generation 0, then my children are generation 1, my grand children are generation 2. If that is the case, then I suppose my parents would have to be generation -1 and my grandparents would have to be generation -2. I'm not the most experienced geneologist. Perhaps someone with more experience than me could chime in here. What is the standard way to enumerate genrations? ~Brian ```
 Re: [Gramps-devel] implex on CountAncestors ... From: - 2006-04-30 06:31:31 ```Brian, > On some levels, it makes sense to me that if I consider myself generation 0, then my children are generation 1, my grand children are generation 2. If that is the case, then I suppose my parents would have to be generation -1 and my grandparents would have to be generation -2. In this case it would be necessary to modify the pedigree view !!! http://gramps-project.org/gramps-manual/gramps-manual-en/ch02.html#pedigree-fig http://gramps-project.org/gramps-manual/gramps-manual-en/ch02.html#pedigree-anchor-fig Jérôme ___________________________________________________________________________ Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services préférés : vérifiez vos nouveaux mails, lancez vos recherches et suivez l'actualité en temps réel. Rendez-vous sur http://fr.yahoo.com/set ```