Question about most kept species
-
- Expert
- Posts: 5038
- Joined: 19 Dec 2004, 14:38
- My articles: 20
- My images: 61
- My catfish: 9
- Spotted: 35
- Location 2: Eindhoven, The Netherlands
Question about most kept species
See title; wrt Auchenipteridae.
How come that the 25 most kept species include species that no-one keeps, like and ?
How come that the 25 most kept species include species that no-one keeps, like and ?
- Dave Rinaldo
- Posts: 2178
- Joined: 31 Dec 2002, 10:49
- I've donated: $601.00!
- My images: 238
- My cats species list: 64 (i:0, k:0)
- Spotted: 97
- Location 2: Austin, Texas
Re: Question about most kept species
For reference to others, the list Mark refereed to can be found here.
Auchenipteridae
Auchenipteridae
- MatsP
- Posts: 21038
- Joined: 06 Oct 2004, 13:58
- My articles: 4
- My images: 28
- My cats species list: 117 (i:33, k:0)
- My aquaria list: 10 (i:8)
- My BLogs: 4 (i:0, p:97)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
Re: Question about most kept species
Hmm, I don't understand what's going on here.
I will have a look at the code when I have time.
Edit: Just scanned through the code, and the "title" of the section seem to not be the same as what it actually shows: It shows the most "hit" species (as in the species with most peiople viewing the page), not the ones with the most keepers.
@Jools: Do we want to "make this do what is says on the label" or "change the label to reflect the content"?
--
Mats
I will have a look at the code when I have time.
Edit: Just scanned through the code, and the "title" of the section seem to not be the same as what it actually shows: It shows the most "hit" species (as in the species with most peiople viewing the page), not the ones with the most keepers.
@Jools: Do we want to "make this do what is says on the label" or "change the label to reflect the content"?
--
Mats
- MatsP
- Posts: 21038
- Joined: 06 Oct 2004, 13:58
- My articles: 4
- My images: 28
- My cats species list: 117 (i:33, k:0)
- My aquaria list: 10 (i:8)
- My BLogs: 4 (i:0, p:97)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
Re: Question about most kept species
I have changed the code for this, and it's online, but still a bit broken, since the "percentage" number is calculated incorrectly (I wrote this "blind", as I was visiting Sweden and my local copy of PC is on my home machine, and I'd forgotten a configuration step when upgrading recently, so I could not test it before giving it to Jools for upload to the site).
I will try to fix the percentage calculation over the next few days, but have extra water changes due to being away...
--
Mats
I will try to fix the percentage calculation over the next few days, but have extra water changes due to being away...
--
Mats
-
- Posts: 95
- Joined: 12 Dec 2014, 14:11
- My cats species list: 13 (i:0, k:0)
- My BLogs: 4 (i:0, p:129)
- Location 1: Devon
- Location 2: UK
Re: Question about most kept species
Wow...my woodcats dont even come under the most common family listing let alone top species!...better take more care of them...(actually only 6 keepers and little info anywhere so this isn't a surprise and far from likely error)
However the % on species is also wrong elsewhere
Eg Callichthyidae (no wonder I usually stick to 'Corys et al') (and a couple others I looked at
#1 C. Pygmaeus
#2 C. Habrosus (I know I have both but surely I don't swing the vote that much!)
#3 C.Julii - probably skewed anyway as 99% are trilineatus (again I've had both)
#11 C. Aeneus...bronze down at 11...would expect 1 or 2.
...and no place in the top 25 for C. paleautus everyone's favourite dumb as a bag of spanner peppered.
Just thought I would point it out as my unusual, though certainly not exactly rare, seem to have exploded in popularity... ...whilst my BN is no longer 'common'...
However the % on species is also wrong elsewhere
Eg Callichthyidae (no wonder I usually stick to 'Corys et al') (and a couple others I looked at
#1 C. Pygmaeus
#2 C. Habrosus (I know I have both but surely I don't swing the vote that much!)
#3 C.Julii - probably skewed anyway as 99% are trilineatus (again I've had both)
#11 C. Aeneus...bronze down at 11...would expect 1 or 2.
...and no place in the top 25 for C. paleautus everyone's favourite dumb as a bag of spanner peppered.
Just thought I would point it out as my unusual, though certainly not exactly rare, seem to have exploded in popularity... ...whilst my BN is no longer 'common'...
No longer active.
- MatsP
- Posts: 21038
- Joined: 06 Oct 2004, 13:58
- My articles: 4
- My images: 28
- My cats species list: 117 (i:33, k:0)
- My aquaria list: 10 (i:8)
- My BLogs: 4 (i:0, p:97)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
Re: Question about most kept species
Ok, so should point out that it's (so far) only the subfamily pages that have the NEW code. The family pages don't.
--
Mats
--
Mats
- MatsP
- Posts: 21038
- Joined: 06 Oct 2004, 13:58
- My articles: 4
- My images: 28
- My cats species list: 117 (i:33, k:0)
- My aquaria list: 10 (i:8)
- My BLogs: 4 (i:0, p:97)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
Re: Question about most kept species
And two sets of changes should make this work for family and the percentage calculation of "what percantage keeps this species" in the subfamily.
Changes are R1550 (percentage in subfamily, and some other tidy up), R1551 (same changes as in subfamily but for the family.php).
--
Mats
Changes are R1550 (percentage in subfamily, and some other tidy up), R1551 (same changes as in subfamily but for the family.php).
--
Mats
- MatsP
- Posts: 21038
- Joined: 06 Oct 2004, 13:58
- My articles: 4
- My images: 28
- My cats species list: 117 (i:33, k:0)
- My aquaria list: 10 (i:8)
- My BLogs: 4 (i:0, p:97)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
Re: Question about most kept species
Just found an interesting feature, however. If two species has the exact same number of keepers, only one is being displayed.... ;)
Probably need to come up with a better way to maintain a "most kept" list. Will try to do this today.
--
Mats
Probably need to come up with a better way to maintain a "most kept" list. Will try to do this today.
--
Mats
- MatsP
- Posts: 21038
- Joined: 06 Oct 2004, 13:58
- My articles: 4
- My images: 28
- My cats species list: 117 (i:33, k:0)
- My aquaria list: 10 (i:8)
- My BLogs: 4 (i:0, p:97)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
Re: Question about most kept species
R1552-1553 has an updated version that copes with "more than one species has the same number of keepers".
--
Mats
--
Mats
- Jools
- Expert
- Posts: 16150
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 948
- My catfish: 237
- My cats species list: 87 (i:237, k:1)
- My BLogs: 7 (i:10, p:202)
- My Wishlist: 23
- Spotted: 450
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
Re: Question about most kept species
The update is now in place.
Jools
Jools
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.
- MatsP
- Posts: 21038
- Joined: 06 Oct 2004, 13:58
- My articles: 4
- My images: 28
- My cats species list: 117 (i:33, k:0)
- My aquaria list: 10 (i:8)
- My BLogs: 4 (i:0, p:97)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
Re: Question about most kept species
So, Marc: Does this show what you expect, now?
--
Mats
--
Mats
- Jools
- Expert
- Posts: 16150
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 948
- My catfish: 237
- My cats species list: 87 (i:237, k:1)
- My BLogs: 7 (i:10, p:202)
- My Wishlist: 23
- Spotted: 450
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
Re: Question about most kept species
Closed - think this all works fine.
Jools
Jools
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.