Skip to content

Commit

Permalink
Merge pull request #133 from GENESIS-EFRC/dev
Browse files Browse the repository at this point in the history
Add carbonate correction, ability to turn off enumeration parallelization, minor bug fixes, new numba
  • Loading branch information
mattmcdermott committed May 26, 2022
2 parents 56a9d3d + 7c6b045 commit f85a827
Show file tree
Hide file tree
Showing 34 changed files with 4,858 additions and 2,942 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
reaction-network Copyright (c) 2021, The Regents of the University of
reaction-network Copyright (c) 2022, The Regents of the University of
California, through Lawrence Berkeley National Laboratory (subject
to receipt of any required approvals from the U.S. Dept. of Energy).
All rights reserved.
Expand Down
17 changes: 7 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,19 @@ pathways in solid-state materials synthesis using combinatorial and graph-theort

# Installation directions

The rxn-network package has several dependencies, most of which can be installed
through PyPI. However, graph-tool must be installed through a more customized method;
please see https://graph-tool.skewed.de/ for more details. We recommend the
following installation procedure which creates a new conda environment with Python 3.9,
activates it, and then installs graph-tool through conda-forge.
This package can be easily installed using pip:

```properties
conda create -n gt python=3.9
conda activate gt
conda install -c conda-forge graph-tool
pip install reaction-network
```

Reaction network can then simply be installed via pip:
:warning: While this will take care of most dependencies, if you are using any of the network-based features (i.e. within `rxn_network.network`), then `graph-tool` must be installed. Unfortunately, this cannot
be installed through pip; please see https://graph-tool.skewed.de/ for more details. :warning:

We recommend the following installation procedure which installs graph-tool through conda-forge.

```properties
pip install reaction-network
conda install -c conda-forge graph-tool
```

## For developers:
Expand Down
4 changes: 0 additions & 4 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# Changelog

## [v6.0.0](https://github.com/GENESIS-EFRC/reaction-network/tree/v6.0.0) (2022-03-31)

[Full Changelog](https://github.com/GENESIS-EFRC/reaction-network/compare/v5.0.0...v6.0.0)

## [v5.0.0](https://github.com/GENESIS-EFRC/reaction-network/tree/v5.0.0) (2022-03-31)

[Full Changelog](https://github.com/GENESIS-EFRC/reaction-network/compare/v4.3.0...v5.0.0)
Expand Down
25 changes: 16 additions & 9 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ![Reaction Network](images/logo.png)
# ![Reaction Network](docs/images/logo.png)

[![Pytest Status](https://github.com/GENESIS-EFRC/reaction-network/workflows/testing/badge.svg)](https://github.com/GENESIS-EFRC/reaction-network/actions?query=workflow%3Atesting)
[![Code Coverage](https://codecov.io/gh/GENESIS-EFRC/reaction-network/branch/main/graph/badge.svg)](https://codecov.io/gh/GENESIS-EFRC/reaction-network)
Expand All @@ -8,19 +8,23 @@ pathways in solid-state materials synthesis using combinatorial and graph-theort

# Installation directions

The rxn-network package has several dependencies, most of which can be installed
through PyPI. However, graph-tool must be installed through a more customized method;
please see https://graph-tool.skewed.de/ for more details. We recommend the
following installation procedure which creates a new conda environment with Python 3.9,
activates it, and then installs graph-tool through conda-forge.
This package can be easily installed using pip:

```properties
pip install reaction-network
```

:warning: While this will take care of most dependencies, if you are using any of the network-based features (i.e. within `rxn_network.network`), then `graph-tool` must be installed. Unfortunately, this cannot
be installed through pip; please see https://graph-tool.skewed.de/ for more details. :warning:

We recommend the following installation procedure which installs graph-tool through conda-forge.

```properties
conda create -n gt python=3.9
conda activate gt
conda install -c conda-forge graph-tool
```

To install an editable version of the rxn-network code, simply download (clone) the
## For developers:
To install an editable version of the rxn-network code, simply clone the
code from this repository, navigate to its directory, and then run the
following command to install the requirements:

Expand All @@ -29,6 +33,9 @@ pip install -r requirements.txt
pip install -e .
```

Note that this only works if the repository is cloned from GitHub, such that it contains
the proper metadata.

# Tutorial notebooks

The `notebooks` folder contains two (2) demonstration notebooks:
Expand Down
1 change: 1 addition & 0 deletions docs/reference/builders/retrosynthesis.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: rxn_network.builders.retrosynthesis
1 change: 1 addition & 0 deletions docs/reference/costs/competition.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: rxn_network.costs.competition
1 change: 0 additions & 1 deletion docs/reference/costs/competitiveness.md

This file was deleted.

1 change: 1 addition & 0 deletions docs/reference/entries/corrections.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: rxn_network.entries.corrections
1 change: 1 addition & 0 deletions docs/reference/entries/freed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: rxn_network.entries.freed
1 change: 1 addition & 0 deletions docs/reference/utils/models.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: rxn_network.utils.models
1 change: 1 addition & 0 deletions docs/reference/utils/ray.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: rxn_network.utils.ray
14 changes: 10 additions & 4 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
site_name: Reaction Network Documentation
site_description: Documentation for rxn_network
copyright: Built by The GENESIS EFRC
site_name: Reaction-network documentation
site_description: Documentation for the reaction-network package
copyright: Built by Matthew McDermott (GENESIS-EFRC)

nav:
- Home: index.md
Expand All @@ -10,6 +10,8 @@ nav:
- Network:
- Network: network.ipynb
- Reference:
- Builders:
Retrosynthesis: reference/builders/retrosynthesis.md
- Core:
Calculator: reference/core/calculator.md
Cost Function: reference/core/cost_function.md
Expand All @@ -20,13 +22,15 @@ nav:
Solver: reference/core/solver.md
- Costs:
Calculators: reference/costs/calculators.md
Competitiveness: reference/costs/competitiveness.md
Competition: reference/costs/competition.md
Softplus: reference/costs/softplus.md
- Data: reference/data/data.md
- Entries:
Barin: reference/entries/barin.md
Corrections: reference/entries/corrections.md
Entry Set: reference/entries/entry_set.md
Experimental: reference/entries/experimental.md
Freed: reference/entries/freed.md
Gibbs: reference/entries/gibbs.md
Nist: reference/entries/nist.md
- Enumerators:
Expand Down Expand Up @@ -64,6 +68,8 @@ nav:
- Utils:
Database: reference/utils/database.md
Funcs: reference/utils/funcs.md
Models: reference/utils/models.md
Ray: reference/utils/ray.md
- CHANGELOG: CHANGELOG.md

repo_url: https://github.com/GENESIS-EFRC/reaction-network/
Expand Down
Loading

0 comments on commit f85a827

Please sign in to comment.