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

Add JupyterNote Book to host the documentation website #151

Merged
merged 8 commits into from
Aug 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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: 4 additions & 0 deletions DiverseSelector/methods/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@

import numpy as np

__all__ = [
"SelectionBase"
]


class SelectionBase(ABC):
"""Base class for selecting subset of sample points."""
Expand Down
Binary file added book/content/_build/.doctrees/base.doctree
Binary file not shown.
Binary file not shown.
Binary file added book/content/_build/.doctrees/environment.pickle
Binary file not shown.
1 change: 1 addition & 0 deletions book/content/_build/.doctrees/glue_cache.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
Binary file not shown.
Binary file added book/content/_build/.doctrees/intro.doctree
Binary file not shown.
Binary file added book/content/_build/.doctrees/partition.doctree
Binary file not shown.
Binary file added book/content/_build/.doctrees/starting.doctree
Binary file not shown.
Binary file added book/content/_build/.doctrees/utils.doctree
Binary file not shown.
4 changes: 4 additions & 0 deletions book/content/_build/html/.buildinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 4d0fd851dc687574c8ed135c99921c4a
tags: 645f666f9bcd5a90fca523b33c5a78b7
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added book/content/_build/html/_images/starting_6_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added book/content/_build/html/_images/starting_6_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
:root {
--tabs-color-label-active: hsla(231, 99%, 66%, 1);
--tabs-color-label-inactive: rgba(178, 206, 245, 0.62);
--tabs-color-overline: rgb(207, 236, 238);
--tabs-color-underline: rgb(207, 236, 238);
--tabs-size-label: 1rem;
}
4 changes: 4 additions & 0 deletions book/content/_build/html/_sources/base.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Base class
=============
.. automodule:: DiverseSelector.base
:members:
4 changes: 4 additions & 0 deletions book/content/_build/html/_sources/dissimilarity.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Dissimilarity based methods
=============
.. automodule:: DiverseSelector.dissimilarity
:members:
87 changes: 87 additions & 0 deletions book/content/_build/html/_sources/installation.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{
"cells": [
{
"cell_type": "markdown",
"id": "f1be9e2f",
"metadata": {},
"source": [
"# Installation & Testing\n",
"\n",
"1. To install DiverseSelector using the conda package management system, install [miniconda](https://conda.io/miniconda.html) or [anaconda](https://www.anaconda.com/download) first, and then:\n",
"\n",
"```\n",
" # Create and activate myenv conda environment (optional, but recommended)\n",
" conda create -n myenv python=3.6\n",
" conda activate myenv\n",
"\n",
" # Install the stable release.\n",
" conda install -c theochem qc-\n",
"```\n",
"2. To install DiverseSelector with pip, you may want to create a [virtual environment](https://docs.python.org/3/tutorial/venv.html), and then:\n",
"\n",
"```\n",
" # Install the stable release.\n",
" pip install qc-\n",
"```\n",
"\n",
"# Dependencies\n",
"\n",
"The following dependencies are required to run DiverseSelector properly,\n",
"\n",
"* Python >= 3.6: http://www.python.org/ \n",
"* NumPy >= 1.21.5: http://www.numpy.org/\n",
"* SciPy >= 1.5.0: http://www.scipy.org/\n",
"* PyTest >= 5.3.4: https://docs.pytest.org/\n",
"* PyTest-Cov >= 2.8.0: https://pypi.org/project/pytest-cov/\n",
"\n",
"# Testing\n",
"\n",
"The tests are automatically run when we build packages with conda, but you may try them again on your own machine after installation.\n",
"\n",
"With Ana- or Miniconda:\n",
"```\n",
"# Install pytest in your conda env.\n",
"conda install pytest pytest-xdist\n",
"# Then run the tests.\n",
"pytest --pyargs diverseselector -n auto\n",
"```\n",
"\n",
"With Pip:\n",
"```\n",
"# Install pytest in your conda env ...\n",
"pip install pytest pytest-xdist\n",
"# .. and refresh the virtual environment.\n",
"# This is a venv quirk. Without it, pytest may not find IOData.\n",
"deactivate && source ~/diverseselector/activate\n",
"\n",
"# Alternatively, install pytest in your home directory.\n",
"pip install pytest pytest-xdist --user\n",
"\n",
"# Finally, run the tests.\n",
"pytest --pyargs diverseselector -n auto\n",
"```"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.7"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
18 changes: 18 additions & 0 deletions book/content/_build/html/_sources/intro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!-- #region -->
# Welcome to QC-Selector


## Discover the Power of Diversity in Molecule Selection

Are you struggling to find the optimal subset of molecules for your research or development projects? Look no further! Diverse Selector is the ultimate software package designed to help you effortlessly identify the most diverse subset of molecules from your dataset.

## Why QC-Selector?

In the world of chemistry, selecting the right subset of molecules is critical for a wide range of applications, including drug discovery, materials science, and molecular optimization. QC-Selector offers a cutting-edge solution to streamline this process, empowering researchers, scientists, and developers to make smarter decisions faster.

## Key Features
1. Import Your Dataset: Simply import your molecule dataset in various file formats, including SDF, SMILES, and InChi, to get started.
2. Define Selection Criteria: Specify the desired level of diversity and other relevant parameters to tailor the subset selection to your unique requirements.
3. Run the Analysis: Let QC-Selector's powerful algorithms process your dataset and efficiently select the most diverse molecules.
4. Export: Explore the diverse subset and export the results for further analysis and integration into your projects.
<!-- #endregion -->
5 changes: 5 additions & 0 deletions book/content/_build/html/_sources/partition.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Partition based methods
=============

.. automodule:: DiverseSelector.partition
:members:
776 changes: 776 additions & 0 deletions book/content/_build/html/_sources/starting.ipynb

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions book/content/_build/html/_sources/utils.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Utilities
=============
.. automodule:: DiverseSelector.utils
:members:
Empty file.
Loading
Loading