Confirm-Solutions / imprint

The Imprint Project
BSD 3-Clause "New" or "Revised" License
13 stars 3 forks source link

Imprint

Imprint is a library to validate clinical trial designs.

Gitter example workflow

Installing Imprint for development.

(Soon, we will have a separate pathway for users to install via PyPI/pip)

  1. If you do not have conda installed already, please install it. There are many ways to get conda. We recommend installing Mambaforge which is a conda installation wwith mamba installed by default and set to use conda-forge as the default set of package repositories. CLICK HERE for installers and installation instructions.

  2. Clone the git repo:

    git clone git@github.com:Confirm-Solutions/imprint.git
  3. Set up your imprint conda environment. The list of packages that will be installed inside your conda environment can be seen in pyproject.toml.

    mamba update -y conda mamba
    # create a development virtual environment with useful tools
    mamba env create
    conda activate imprint
    # the following line makes poetry install into already activated
    # environment.
    poetry config virtualenvs.create false --local
    # install the imprint package plus development tools
    poetry install --with=dev,test
    
    # OPTIONALLY: Install a CUDA-enabled JAX build on Linux
    pip install --upgrade -r requirements-jax-cuda.txt

Getting started understanding imprint

References