You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#1299
* The SimulationAllocationOptions and SimulationDistributingOptions are
stowed away very far, and not part of the public API
* Yet, these objects used to store default settings are required to call
the public api method Modflow6Simulation.from_imod5_data...
* A description of "period_times" is missing in the docstring
* Example code snippets are missing from the docstring
# Description
This PR fixes the following things:
* Makes ``SimulationAllocationOptions`` and
``SimulationDistributingOptions`` part of the public API
* Makes ``allocation_options`` and ``distributing_options`` optional
arguments for ``Modflow6Simulation.from_imod5_data`` and
``GroundwaterFlowModel.from_imod5_data``
* To do this, I had to change the order of arguments for
Modflow6Simulation.from_imod5_data, as Python doesn't allow non-optional
args after an optional arg. This can break existing scripts, however
this has just been released, so not many scripts use it. As long as the
tutorial material is updated within time.
* Extends docstrings of ``GroundwaterFlowModel.from_imod5_data``,
``Modflow6Simulation.from_imod5_data``, ``SimulationAllocationOptions``,
and ``SimulationDistributingOptions``
0 commit comments