-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAINT: Deprecate
calc_*_from_diags
functions (#111)
* Move main code for calculating state probabilities into `calc_state_probs`, add `dir_edges` parameter, and add `DeprecationWarning` to `calc_state_probs_from_diags`. * Implement the same changes as above for `calc_net_cycle_flux` and `calc_net_cycle_flux_from_diags` * Update tests to use the updated versions of `calc_state_probs` and `calc_net_cycle_flux` * Add checks for `DeprecationWarning`s to `test_function_inputs` for `calc_state_probs_from_diags` and `calc_net_cycle_flux_from_diags` * Update docstrings for all functions using directional edges
- Loading branch information
Showing
2 changed files
with
157 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.