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

Various fixes #2

Merged
merged 4 commits into from
Oct 24, 2022
Merged

Various fixes #2

merged 4 commits into from
Oct 24, 2022

Commits on Oct 24, 2022

  1. Fixed issue with single-reaction predictions.

    Previously, running `KPM predict` on a single reactant/product pair would cause KPM to fail due to NumPy loading in the enthalpy as a 0-dimensional array which couldn't be indexed. Fixed by enforcing a 1D array be loaded.
    joegilkes committed Oct 24, 2022
    Configuration menu
    Copy the full SHA
    5f3f577 View commit details
    Browse the repository at this point in the history
  2. Fixed headless running of KPM

    KPM could not run headless (without a `DISPLAY` environment variable set) due to it loading the `TkAgg` backend for Matplotlib. This has been fixed, so if `DISPLAY` is not set or empty, KPM will instead load the `Agg` backend, allowing for headless running of both training and rediction modes.
    joegilkes committed Oct 24, 2022
    Configuration menu
    Copy the full SHA
    28e29c0 View commit details
    Browse the repository at this point in the history
  3. Fixed monodirectional Eact prediciton

    Calling `KPM predict` with a direction of 'forward' or 'backward' was failing due to an incorrectly set `num_reacs` in `calc_diffs()`. This has now been set correctly based on the requested prediction directionality.
    joegilkes committed Oct 24, 2022
    Configuration menu
    Copy the full SHA
    3583eb5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2da2f72 View commit details
    Browse the repository at this point in the history