Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH, API: Remove "key" and "name" parameters #84

Merged
merged 2 commits into from
Jun 6, 2024

Commits on Jun 6, 2024

  1. ENH, API: Remove "key" and "name" parameters

    * Remove the "key" and "name" parameters from
    all functions in `calculations.py`. Edge
    weights are now stored under a standard
    attribute name `weight`. For functions
    requiring the variable names (i.e. "k12") the
    strings are simply created on the fly using
    the available edge data.
    
    * Update `graph_utils.retrieve_rate_matrix`
    to use `NetworkX.to_numpy_array`.
    
    * Update function calls in `test_kda.py` to
    reflect parameter changes
    
    * Fix `diagrams.enumerate_partial_diagrams`
    to build the adjacency matrix without
    retrieving the edge weights from the diagram
    
    * Fix issue #56
    nawtrey committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    85f1100 View commit details
    Browse the repository at this point in the history
  2. Remove unused function

    * Remove `graph_utils.generate_K_string_matrix`
    since it is no longer necessary for generating
    kinetic diagrams
    nawtrey committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    78f718b View commit details
    Browse the repository at this point in the history