Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
149b285
chore: Moved the generalized GraphDB module to parquetdb package as P…
lllangWV May 8, 2025
7693032
chore: Update pyproject.toml and README for ML dependencies
lllangWV May 8, 2025
f4df82d
refactor: Consolidate material-related modules into core package
lllangWV May 8, 2025
88b58ba
chore: Update optional dependencies in pyproject.toml
lllangWV May 8, 2025
f8072ec
chore: Reorder optional dependencies in pyproject.toml
lllangWV May 8, 2025
dbe757c
chore: Remove unused optional dependencies from pyproject.toml
lllangWV May 8, 2025
fa2ff6d
refactor: Replace GraphDB with ParquetGraphDB in test fixture
lllangWV May 8, 2025
6184ddd
refactor: Update imports in Getting Started notebook to core package
lllangWV May 8, 2025
6948140
refactor: renamed module from data to builders CrystalGraphBuilder an…
lllangWV May 8, 2025
71bc6e5
refactor: Update notebook metadata to prevent execution during build
lllangWV May 8, 2025
090c2fc
refactor: Update load method to use ParquetGraphDB
lllangWV May 8, 2025
0a3083e
refactor: Update GraphBuilder references to HeteroGraphBuilder
lllangWV May 8, 2025
ff30e93
refactor: Update material references in tests and graph loading
lllangWV May 8, 2025
f5c8858
chore: Update .gitignore to include tmp.py and clean data entry
lllangWV May 8, 2025
7214dc5
refactor: Restructure API documentation for materials and nodes
lllangWV May 8, 2025
e646268
refactor: Remove verbosity parameter from MaterialStore methods
lllangWV May 9, 2025
c50e4ca
maint: Rename matgraphdb_base.py to matgraphdb.py
lllangWV May 9, 2025
e8d8f95
feat(tests): Add script for continuous pytest execution
lllangWV May 9, 2025
8b1a847
refactor(tests): Update test fixtures to use Path for temporary direc…
lllangWV May 9, 2025
8b587f7
chore: Update material_0.parquet test data file
lllangWV May 9, 2025
1aa55d3
refactor(docs): Move MatGraphDB documentation to new file
lllangWV May 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ poly_graphs_lib/cfg/mp_api.yml
/matgl/
/config.yml
/private_config.yml
tmp
tmp.py
/logs/

/figures/
Expand All @@ -187,7 +187,7 @@ dev_scripts/
/notes/
/my_tests/
/data
*data/


_version.py

Expand Down
35 changes: 33 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,49 @@ Check out the [docs](https://romerogroup.github.io/MatGraphDB/)

## Installing

### Installing via pip
### Regular install

#### Install via pip

```bash
pip install matgraphdb
```

### Installing from github

#### Install from github

```bash
git clone https://github.com/romerogroup/MatGraphDB.git
cd MatGraphDB
pip install -e .
```


### Install with ML dependencies

You may want to install the package with its ML dependencies. This will install the latest version of PyTorch and the PyTorch Geometric package. This will be dependent on the CUDA version you have installed.

#### Easy install (cpu)

The easiest way to install the package with ML dependencies is to use the `[ml]` flag.
```bash
pip install matgraphdb[ml]
```

#### Manual install (gpu)

Here is an example of how to install the package with GPU support with CUDA 11.8. If you have a different version of CUDA installed, you can replace the version numbers `cu118` with the appropriate version for your system.


```bash
pip install torch==2.6.0 torchvision==0.21.0 torchaudio==2.6.0 --index-url https://download.pytorch.org/whl/cu118

pip install torch_geometric

pip install pyg_lib torch_scatter torch_sparse torch_cluster torch_spline_conv -f https://data.pyg.org/whl/torch-2.6.0+cu118.html
```


## Usage

### Interacting with the materials database.
Expand Down
5 changes: 4 additions & 1 deletion docs/source/01_tutorials/01 - Getting Started.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,10 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.21"
"version": "3.9.21",
"nbsphinx": {
"execute": "never"
}
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,10 @@
"pygments_lexer": "ipython3",
"version": "3.9.21"
},
"name": "Example 2 - Managing Graphs in MatGraphDB"
"name": "Example 2 - Managing Graphs in MatGraphDB",
"nbsphinx": {
"execute": "never"
}
},
"nbformat": 4,
"nbformat_minor": 4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@
],
"source": [
"import pandas as pd\n",
"from matgraphdb import node_generator\n",
"from parquetdb import node_generator\n",
"from matgraphdb.utils.config import PKG_DIR\n",
"\n",
"BASE_ELEMENT_FILE = os.path.join(\n",
Expand Down Expand Up @@ -1193,7 +1193,7 @@
"metadata": {},
"outputs": [],
"source": [
"from matgraphdb import edge_generator\n",
"from parquetdb import edge_generator\n",
"import pyarrow as pa\n",
"\n",
"\n",
Expand Down Expand Up @@ -1905,6 +1905,9 @@
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"nbsphinx": {
"execute": "never"
},
"pygments_lexer": "ipython3",
"version": "3.9.21"
}
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading