Skip to content

Releases: PSLmodels/ParamTools

ParamTools 0.19.0

28 Nov 22:33
81d19b4
Compare
Choose a tag to compare

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

08 Sep 23:56
8d5ff38
Compare
Choose a tag to compare

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

06 Jun 21:41
ff775c3
Compare
Choose a tag to compare

Use load_defaults rather than missing in calls to calls to marshmallow.fields to avoid deprecation warnings. (PR #134)

ParamTools 0.18.1

03 Apr 16:17
Compare
Choose a tag to compare
  • Fix bug when using a when validator with defer_validation. (#127)

ParamTools 0.18.0

05 Feb 17:21
Compare
Choose a tag to compare
  • 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

25 Jan 22:54
Compare
Choose a tag to compare
  • Add transaction method for multi-stage updates. (#123)
    Screenshot from 2021-01-25 17-53-08
  • Use Github Actions for CI. (#123)

ParamTools 0.16.0

28 Oct 15:02
Compare
Choose a tag to compare
  • New API for querying parameter values:
    Screenshot from 2020-10-28 11-00-59

  • Improvements for querying custom/nested values:
    Screenshot from 2020-10-28 11-02-22

ParamTools 0.15.1

02 Sep 12:40
Compare
Choose a tag to compare
  • Fix several ordering bugs affecting the order of schema vs parameter names in the output of Parameters.dump and the order of keys in value objects. (#115)
  • Expose argument to use the labels set in the state of the Parameters instance when selecting which values to include when calling Parameters.dump. (#115)
  • Use most up-to-date operator values when dumping a Parameter values to JSON. (#118)

ParamTools 0.15.0

28 Jul 14:11
Compare
Choose a tag to compare
  • Use fsspec to support a rich variety of inputs sources from local JSON files to files stored on GitHub, S3, or Google Cloud Storage. (#111, #113)

ParamTools 0.14.2

29 Jun 14:06
Compare
Choose a tag to compare
  • Fix deserialization bug. (#109)