Rita in Auchenipterinae

A historical forum for issues reported in the suggestions and bugs forum that have been subsequently fixed or resolved.
Post Reply
User avatar
racoll
Posts: 5258
Joined: 26 Jan 2004, 12:18
My articles: 6
My images: 182
My catfish: 2
My cats species list: 2 (i:2, k:0)
My aquaria list: 1 (i:0)
Spotted: 238
Location 1: London
Location 2: UK

Rita in Auchenipterinae

Post by racoll »

On the subfamily page for the Auchenipterinae, appear to be included.

See http://www.planetcatfish.com/common/sub ... mily_id=77.
User avatar
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: Rita in Auchenipterinae

Post by Dave Rinaldo »

They are still at Bagridae.
Contribute to Planet Catfish!

Use this Amazon.com link to benefit Planet Catfish!!
Marc van Arc
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

Re: Rita in Auchenipterinae

Post by Marc van Arc »

racoll wrote:On the subfamily page for the Auchenipterinae, appear to be included.

See http://www.planetcatfish.com/common/sub ... mily_id=77.
Good spot, but how did you get there? I am unable to find a Centromochlinae page nor am I able to find the Auchenipterinae page without your link.
User avatar
racoll
Posts: 5258
Joined: 26 Jan 2004, 12:18
My articles: 6
My images: 182
My catfish: 2
My cats species list: 2 (i:2, k:0)
My aquaria list: 1 (i:0)
Spotted: 238
Location 1: London
Location 2: UK

Re: Rita in Auchenipterinae

Post by racoll »

From any species page using the hierarchy at the top:

Cat-eLog > Auchenipteridae > Centromochlinae > Centromochlus Add this species to your My Cats species list + Add to My Cats
User avatar
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:164)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: Rita in Auchenipterinae

Post by MatsP »

So, subfamily assignment is all automatic. I'm not sure what has caused this, but will try to figure out.

Edit: I reset the data for the subfamily of the genus "Rita" in my local database and reran the script that updates the subfamily, I can reproduce the problem. I think it's caused by Catalog of Fishes returning a long list of species when askign for "Rita rita", because it lists things that match "Rita" in general. It will need to be fixed by being more restrictive with regards to what is considered a "match" in the script. I will look at this tomorrow.

--
Mats
User avatar
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:164)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: Rita in Auchenipterinae

Post by MatsP »

Fix for the underlying problem in this case in R1431 ("don't keep the subfamily when wrong species is found"). I'm not sure if there are any other genera that are wrong, and I suspect it's not that easy to find out, but will have a look at updating the update-script to fix that. In the meantime, if Jools sets the subfamily for Rita to 0, and reruns the script (or waits until Sunday when it runs anyway), it should be fixed.

--
Mats
User avatar
Jools
Expert
Posts: 16280
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 941
My catfish: 237
My cats species list: 88 (i:13, k:2)
My BLogs: 7 (i:10, p:167)
My Wishlist: 23
Spotted: 451
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: Rita in Auchenipterinae

Post by Jools »

Thanks Mats, the updated code has been uploaded and the subfamily_id on the genera table for the genus Rita is set to 0.

This means that Rita no longer shows up in the wrong subfamily. After Sunday, it should appear in the right one...

Jools
User avatar
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:164)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: Rita in Auchenipterinae

Post by MatsP »

Have now sent a modified script to the repository for Jools to review and upload at some point. In R1432. This will remove any "subfamily" link that isn't correct. Once this script has been run (happens every Sunday at present, but it can be run manually by Jools), the four genera with problems will be corrected.

--
Mats
User avatar
Jools
Expert
Posts: 16280
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 941
My catfish: 237
My cats species list: 88 (i:13, k:2)
My BLogs: 7 (i:10, p:167)
My Wishlist: 23
Spotted: 451
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: Rita in Auchenipterinae

Post by Jools »

All fixes are now online and I'm content to wait 48 hours or so until the script now run. Basically, I think this is now resolved.

As a nice extra feature that Mats put in, subfamily links now work. Check out http://www.planetcatfish.com/mochokinae!

Jools

[Wee footnote to Mats, where the subfamily exists as a genus, this doesn't quite work as expected. e.g. Loricariinae]
User avatar
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:164)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: Rita in Auchenipterinae

Post by MatsP »

Jools wrote:[Wee footnote to Mats, where the subfamily exists as a genus, this doesn't quite work as expected. e.g. Loricariinae]
I did notice that. Not sure what we should do there - they are not real, legitimate genuses, but at the same time, we use them as if they are, and "genus" has higher priority (in the "what could this name be" resolving code), so it goes for that instead. We could turn it around, but then if you click on "Loricariinae" (the genus-like symbol), it won't do the right thing [or at least not if it's a clog link like "The genus " ])

No matter what we do, aside from "rename things that are called the same as a subfamily" will solve it in a perfect way.

--
Mats
User avatar
Jools
Expert
Posts: 16280
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 941
My catfish: 237
My cats species list: 88 (i:13, k:2)
My BLogs: 7 (i:10, p:167)
My Wishlist: 23
Spotted: 451
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: Rita in Auchenipterinae

Post by Jools »

I had a look at the problem and I think the code/approach is good and the problem is a data issue. In this day and age, I think we can "do better" than just plonk something undescribed in a subfamily.

In the case of loricariinae, there are no longer any species belonging to that genus record. So I have fixed the problem by renaming and reusing the genus (That ID is now changed to be ).

Jools
Post Reply

Return to “All Resolved Issues”