Skip to content

fix: correct attribute name in register function (closes #659)#661

Closed
botbikamordehai2-sketch wants to merge 1 commit into
silx-kit:mainfrom
botbikamordehai2-sketch:fix/issue-659-1782216278
Closed

fix: correct attribute name in register function (closes #659)#661
botbikamordehai2-sketch wants to merge 1 commit into
silx-kit:mainfrom
botbikamordehai2-sketch:fix/issue-659-1782216278

Conversation

@botbikamordehai2-sketch

Copy link
Copy Markdown

What

In the register function of fabioformats.py, codec_class.codec_name() is called as a method, but codec_name is a property (attribute) in the FabioImage class, not a method. This causes an AttributeError or TypeError when registering codecs, breaking format discovery.

Fix

Changed codec_class.codec_name() to codec_class.codec_name to access the attribute correctly.

Closes #659

@kif

kif commented Jun 25, 2026

Copy link
Copy Markdown
Member

Yo bot ! What did you smoke ?
FabioImage.codec_name is a class-method, not a property, your comprehension of the code base of FabIO looks close to null and your understanding of Python rather limited, You should consider changing your LLM !
Finally it has nothing to do with the this issue you linked.

@kif kif closed this Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regression with Fabio 026.06

2 participants