From 2a8da9fc80672ced4bb3b5bddda1213ea1875002 Mon Sep 17 00:00:00 2001 From: gcroci2 Date: Tue, 21 Jun 2022 10:45:52 +0200 Subject: [PATCH] changes package name --- README.md | 8 ++++---- deeprankcore/tools/pssm.py | 6 +++--- docs/conf.py | 4 ++-- setup.py | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index d65d6e1b5..1c9151e11 100644 --- a/README.md +++ b/README.md @@ -11,19 +11,19 @@ ### Dependencies -Before installing DeepRank-GNN you need to install: +Before installing deeprank-core you need to install: * [pytorch](https://pytorch.org/): `conda install pytorch -c pytorch`. Note that by default the CPU version of pytorch will be installed, but you can also customize that installation following the instructions on pytorch website. * [pytorch_geometric](https://pytorch-geometric.readthedocs.io/en/latest/notes/installation.html): `conda install pyg -c pyg` (recommended). * [msms](https://ssbio.readthedocs.io/en/latest/instructions/msms.html): `conda install -c bioconda msms`. *For MacOS with M1 chip users*: you can follow [these instructions](https://ssbio.readthedocs.io/en/latest/instructions/msms.html). * [reduce](https://github.com/rlabduke/reduce) Follow the instructions in the README -### DeepRank-GNN installation +### deeprank-core installation -[//]: # (Once the dependencies installed, you can install the latest release of DeepRank-GNN using the PyPi package manager:) +[//]: # (Once the dependencies installed, you can install the latest release of deeprank-core using the PyPi package manager:) [//]: # (```) -[//]: # (pip install DeepRank-GNN) +[//]: # (pip install deeprankcore) [//]: # (```) You can get all the new developments by cloning the repo and installing the code with diff --git a/deeprankcore/tools/pssm.py b/deeprankcore/tools/pssm.py index d69ffb487..4059ec16e 100644 --- a/deeprankcore/tools/pssm.py +++ b/deeprankcore/tools/pssm.py @@ -1,8 +1,8 @@ from typing import TextIO -from deeprank_gnn.models.structure import Residue, Chain -from deeprank_gnn.models.pssm import PssmRow, PssmTable -from deeprank_gnn.domain.amino_acid import amino_acids +from deeprankcore.models.structure import Residue, Chain +from deeprankcore.models.pssm import PssmRow, PssmTable +from deeprankcore.domain.amino_acid import amino_acids amino_acids_by_letter = { amino_acid.one_letter_code: amino_acid for amino_acid in amino_acids diff --git a/docs/conf.py b/docs/conf.py index a1ff59db1..3d1825ac0 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -92,7 +92,7 @@ master_doc = 'index' # General information about the project. -project = 'deeprank-gnn' +project = 'deeprankcore' copyright = '2021, Manon Reau, Nicolas Renaud' author = 'Manon Reau, Nicolas Renaud' @@ -207,7 +207,7 @@ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - (master_doc, 'deeprank-gnn', 'DeepRank-GNN Documentation', + (master_doc, 'deeprankcore', 'deeprank-core Documentation', [author], 1) ] diff --git a/setup.py b/setup.py index e5de6b078..222867d6e 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ here = os.path.abspath(os.path.dirname(__file__)) -# To update the package version number, edit DeepRank-GNN/__version__.py +# To update the package version number, edit deeprank-core/__version__.py version = {} with open(os.path.join(here, 'deeprankcore', '__version__.py')) as f: exec(f.read(), version) @@ -24,7 +24,7 @@ author_email='g.crocioni@esciencecenter.nl, Coos.Baakman@radboudumc.nl', url='https://github.com/DeepRank/deeprank-gnn-2', packages=find_packages(include=['deeprankcore']), - package_dir={'deeprankcore': 'deeprankcore'}, + package_dir={'deeprank-gnn-2': 'deeprankcore'}, include_package_data=True, license="Apache Software License 2.0", zip_safe=False,