Skip to content

Commit

Permalink
1.5.2 (#213)
Browse files Browse the repository at this point in the history
* update version strings

* include node datafiles in manifest #205

* update changelog for 1.5.2

* isort

* typo

* rm conda env activation to speedup CI
  • Loading branch information
a-r-j authored Sep 19, 2022
1 parent 6c4ffd0 commit 28ae687
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ jobs:
# uses: actions/setup-python@v2
# with:
#python-version: ${{ matrix.python-version }}
- name: Setup conda environment
run: conda env create -n graphein-dev python=${{ matrix.python-version }}
- name: Activate Conda Environment
run: source activate graphein-dev
#- name: Setup conda environment
# run: conda env create -n graphein-dev python=${{ matrix.python-version }}
#- name: Activate Conda Environment
# run: source activate graphein-dev
- name: Install DSSP
run: conda install -c salilab dssp
- name: Install PyTorch
Expand Down
13 changes: 9 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
### 1.5.2 - UNRELEASED
### 1.5.2 - 19/9/2022

#### Protein

* [Bugfix] - [#206](https://github.com/a-r-j/graphein/pull/206) Fixes `KeyError` when using `graphein.protein.edges.distance.node_coords`
* [Bugfix] - Includes missing data files in `MANIFEST.in` #205

#### GRN

* [Bugfix] - [#208](https://github.com/a-r-j/graphein/pull/208) - Resolves SSL issues with RegNetwork.

#### ML

* [Feature] - [#208](https://github.com/a-r-j/graphein/pull/208) support for loading local pdb files by ``ProteinGraphDataset`` and ``InMemoryProteinGraphDataset``.

>by adding a params:`pdb_paths` and set the `self.raw_dir` to the root path(`self.pdb_path`) of pdb_paths list (the root path should be only one, pdb files should be under the same folder).
>
>it will works from loading pdb files from the `self.pdb_path` instead of loading from self.raw.
> If desire to download from af2 or pdb, just set `pdb_paths` to `None` and it goes back to the former version.
> it allows loading pdb files from the `self.pdb_path` instead of loading from `self.raw`.
> If you wish to download from af2 or pdb, just set `pdb_paths` to `None` and it goes back to the former version.
#### CI
* [Bugfix] - [#208](https://github.com/a-r-j/graphein/pull/208) explicitly installs `jupyter_contrib_nbextensions` in Docker.

* [Bugfix] - [#208](https://github.com/a-r-j/graphein/pull/208) explicitly installs `jupyter_contrib_nbextensions` in Docker.

### 1.5.1

Expand Down
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ include graphein/_version.py
include versioneer.py
include README.md
include .requirements/*
include graphein/protein/features/nodes/amino_acid_properties.csv
include graphein/protein/features/nodes/meiler_embeddings.csv
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
author = "Arian Jamasb"

# The full version, including alpha/beta/rc tags
release = "1.5.1"
release = "1.5.2"


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion graphein/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from .testing import *

__author__ = "Arian Jamasb <arian@jamasb.io>"
__version__ = "1.5.1"
__version__ = "1.5.2"


logger.configure(
Expand Down
2 changes: 1 addition & 1 deletion graphein/grn/parse_regnetwork.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
# Code Repository: https://github.com/a-r-j/graphein
import logging
import os
import ssl
import zipfile
from pathlib import Path
from typing import Callable, List, Optional

import pandas as pd
import wget
import ssl

from graphein.utils.utils import filter_dataframe, ping

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def run(self):

setup(
name="graphein",
version="1.5.1",
version="1.5.2",
# versioneer.get_version(),
# cmdclass=versioneer.get_cmdclass(),
description="Protein & Interactomic Graph Construction for Machine Learning",
Expand Down

0 comments on commit 28ae687

Please sign in to comment.