Releases: PSLmodels/ParamTools
Releases · PSLmodels/ParamTools
ParamTools 0.20.0
ParamTools 0.19.0
This release adds a get_defaults method to the Parameters class object, which allows users to update default values before processing by ParamTools. (PR #138)
ParamTools 0.18.3
Changes parameters.py to call the new _hook method and not the deprecated _has_processors method for compatibility with marshmallow 3.22.
ParamTools 0.18.2
Use load_defaults rather than missing in calls to calls to marshmallow.fields to avoid deprecation warnings. (PR #134)
ParamTools 0.18.1
- Fix bug when using a
whenvalidator withdefer_validation. (#127)
ParamTools 0.18.0
- Allow comments in JSON files. (#124)
In [1]: import paramtools
In [2]: s = """// this is my json file
...: // more comments here
...: /*
...: multi line comments?
...: */
...: {
...: "hello": "world",
...: "allows_urls": "http://double-slash-is-ok.com"
...: }"""
In [3]: paramtools.read_json(s)
Out[3]:
OrderedDict([('hello', 'world'),
('allows_urls', 'http://double-slash-is-ok.com')])ParamTools 0.17.0
ParamTools 0.16.0
ParamTools 0.15.1
- Fix several ordering bugs affecting the order of schema vs parameter names in the output of
Parameters.dumpand the order of keys in value objects. (#115) - Expose argument to use the labels set in the
stateof theParametersinstance when selecting which values to include when callingParameters.dump. (#115) - Use most up-to-date operator values when dumping a Parameter values to JSON. (#118)


