Snakemake scheduler plugin: milp
Error
Not a valid plugin: WARN Using local manifest /tmp/tmptbhevo4j/pixi.toml rather than /home/runner/work/snakemake-plugin-catalog/snakemake-plugin-catalog/pixi.toml from environment variable `PIXI_PROJECT_MANIFEST`
✨ Pixi task (extract-info): python -c "from snakemake_interface_scheduler_plugins.registry import SchedulerPluginRegistry; plugin = SchedulerPluginRegistry().get_plugin('milp'); import json; fmt_type = lambda thetype: thetype.__name__ if thetype is not None else None; fmt_setting_item = lambda key, value: (key, fmt_type(value)) if key == 'type' else (key, value); fmt_setting = lambda setting: dict(map(lambda item: fmt_setting_item(*item), setting.items())); print(json.dumps(list(map(fmt_setting, plugin.get_settings_info()))))"
Traceback (most recent call last):
File "<string>", line 1, in <module>
from snakemake_interface_scheduler_plugins.registry import SchedulerPluginRegistry; plugin = SchedulerPluginRegistry().get_plugin('milp'); import json; fmt_type = lambda thetype: thetype.__name__ if thetype is not None else None; fmt_setting_item = lambda key, value: (key, fmt_type(value)) if key == 'type' else (key, value); fmt_setting = lambda setting: dict(map(lambda item: fmt_setting_item(*item), setting.items())); print(json.dumps(list(map(fmt_setting, plugin.get_settings_info()))))
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/tmptbhevo4j/.pixi/envs/default/lib/python3.14/json/__init__.py", line 235, in dumps
return _default_encoder.encode(obj)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^
File "/tmp/tmptbhevo4j/.pixi/envs/default/lib/python3.14/json/encoder.py", line 202, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/tmp/tmptbhevo4j/.pixi/envs/default/lib/python3.14/json/encoder.py", line 263, in iterencode
return _iterencode(o, 0)
File "/tmp/tmptbhevo4j/.pixi/envs/default/lib/python3.14/json/encoder.py", line 182, in default
raise TypeError(f'Object of type {o.__class__.__name__} '
f'is not JSON serializable')
TypeError: Object of type LpSolverCollection is not JSON serializable
when serializing dict item 'choices'
when serializing list item 0
Please file a corresponding issue in the plugin's `repository <https://github.com/snakemake/snakemake-scheduler-plugin-milp>`__ (if there is none yet).
Warning
No documentation found in repository https://github.com/snakemake/snakemake-scheduler-plugin-milp. The plugin should provide a docs/intro.md with some introductory sentences and optionally a docs/further.md file with details beyond the auto-generated usage instructions presented in this catalog.