-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python plugin doesn't work with mult map #446
Comments
Could you show your config to reproduce the issue? |
Github doesn't allow me to attach python file or logcfg dat. I tried adding mult_list configuration option but it doesn't help because multipliers are processed by the python plugin and python plugin doesn't have any methods for returning full list of expected multipliers |
You can copy the content of those files and paste here, into the comment field. Please enclose them by a ``` separator, like this:
(Don't put the leading For more info please take a look at the Github formatting. |
Rules
|
Python code:
|
|
Maybe I should clarify that python plugin doesn't break the mult list feature. This feature just doesn't work with mults handled by python plugin. I renamed the ticket accordingly. |
I checked code that prints out multipliers and it looks like it only works if it's ARRL sweepstakes contest and section list is a multiplier: https://github.com/Tlf/tlf/blob/master/src/changepars.c#L763 |
@zcsahok Do you have any proposals as to the best way to implement multiplier list feature for python plugin? My first thought is to add a standard method that python plugins should implement to return full list of multipliers. |
@VictorDenisov Thanks for bringing up this issue. There are three flavors of multiplier summary screens:
For sections But back to the original issue: how about this solution? The two cases are -
This would allow to specify for a 2-band contest the info like this:
with the resulting output if B has been worked on both bands and C only on 80:
|
Yes.
And we detect if this format is used by checking if {} symbols are present in the returned string at all? |
Yes, that woud be the multiline-string returned by |
https://github.com/zcsahok/tlf/tree/poc_show_mults has the first draft of Added examples for NAQP and MWC. |
The multiplier markings in the bandmap also ignore the multiplier info from python. |
When mult handling is done by python plugin it breaks mult map. Invoking mult map shows an empty list of multipliers.
The text was updated successfully, but these errors were encountered: