brain-score / core

MIT License
2 stars 5 forks source link

Added JSON parsing to call_jenkins #54

Closed shehadak closed 7 months ago

shehadak commented 7 months ago

This PR complements the previous PR #53. Since PLUGIN_INFO is maintained through the workflow scripts as a JSON-serializable object, call_jenkins needs to also support JSON objects, which are slightly different than native Python dictionaries. This PR achieves this by allowing plugin_info to be a string, and if so parses it using json.loads.