nasa / cape

Computational Aerosciences Productivity & Execution
Other
22 stars 9 forks source link

Bug in set_nMin method of the DataBook module #3

Closed vcoralic closed 1 year ago

vcoralic commented 1 year ago

In v1.0.0rc2, there's a bug in the set_nMin method of the DataBook module. set_nMin has nMin as an input, but uses nStats instead, which is not in the namespace of the method and leads to NameError: name 'nStats' is not defined. I expect it should be self['nMin'] = nMin instead of self['nMin'] = nStats on line 427.

nasa-ddalle commented 1 year ago

Fixed in 72e184f8, as suggested.