add geqdsk_sign_convention and geometry_type as None in the ctx dict.#180
add geqdsk_sign_convention and geometry_type as None in the ctx dict.#180
Conversation
|
I considered this when I made changes to meta, but I don't think it's the right approach. We need to move away from calling out specific meta in various places in the postgkyl, and instead making the code work with any meta (it doesn't yet). This means that:
|
|
ok well, I am not against more global changes in the structure but here it is just a mistake to not set the dict entry as |
|
have you tried the fix mentioned in the issue?
…On Tue, 10 Feb 2026 at 07:35, Antoine Hoffmann ***@***.***> wrote:
*Antoinehoff* left a comment (ammarhakim/postgkyl#180)
<#180 (comment)>
ok well, I am not against more global changes in the structure but here it
is just a mistake to not set the dict entry as None as all of the other
field of the dict are already set to None. This should be pushed to fix
the retro compatibility issue that was introduced. Larger structural code
changes can be done but are less urgent.
—
Reply to this email directly, view it on GitHub
<#180 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQ6DKHBBQSWS2NKZTT46ED4LHUC7AVCNFSM6AAAAACUTZTLW2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTQNZYGAZDKNRTGU>
.
You are receiving this because your review was requested.Message ID:
***@***.***>
|
|
It may work too yes but I think it is better to follow the existing structure, and change it globally later if we want to, so I am not favorable to the fix mentioned in the issue. |
|
We need to treat postgkyl with the same rigor and development philosophy as
gkeyll, which includes not reproducing bad code that was already there.
…On Tue, 10 Feb 2026 at 08:31, Antoine Hoffmann ***@***.***> wrote:
*Antoinehoff* left a comment (ammarhakim/postgkyl#180)
<#180 (comment)>
It may work too yes but I think it is better to follow the existing
structure, and change it globally later if we want to, so I am not
favorable to the fix mentioned in the issue.
—
Reply to this email directly, view it on GitHub
<#180 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQ6DKDSKBFSEXHFOVSTQB34LH2U3AVCNFSM6AAAAACUTZTLW2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTQNZYGQ4TKOJZGA>
.
You are receiving this because your review was requested.Message ID:
***@***.***>
|
…tead of checking if None
…nd ctx dictionaries instead of not None checks.
…explicitly disabled
…s making the energy balance plot fail.
… the routine fails
related to #179.
We refactor the structure
but simply do now
Also, to print in a raw format all keys, present in the metadata, that were not printed yet, we store the key of all previously printed keys in a local list that will be the comparison point instead of having a manually written list, going from
to
We also remove the commented
# endstatements.With this branch, the failing example presented in the issue is fixed: