bessagroup / f3dasm

Framework for Data-Driven Design & Analysis of Structures & Materials (F3DASM)
https://f3dasm.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
111 stars 29 forks source link

Change arguments of add_input_parameter class #226

Closed mpvanderschelling closed 9 months ago

mpvanderschelling commented 9 months ago

The Problem

The method ExperimentData.add_input_parameter() requires you to give _Parameter object. Since this object is now private, the function arguments should be changed

Solution

The add_input_parameter will require you to give the type of the parameter and the kwargs to construct that parameter. The Domain class will then construct the correct parameter

mpvanderschelling commented 9 months ago

Fixed in v.1.4.5