Skip to content

Latest commit

 

History

History

notebooks

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Notebooks

Run a notebook locally

It is suggested you clone the repository and get the latest version of the source code

git clone https://github.com/For-a-few-DPPs-more/structure-factor.git
cd structure-factor
git pull origin main

Then, install the project in a virtual environement and launch the notebook

  • if you use poetry

    poetry shell  # to create/activate local .venv (see poetry.toml)
    poetry install -E notebook  # (see [tool.poetry.extras] in pyproject.toml)
    # open a notebook within VSCode for example
    # or run
    # poetry run jupyter notebook
  • if you use pip

    # activate a virtual environment of your choice and run
    pip install '.[notebook]'  # (see [tool.poetry.extras] in pyproject.toml)
    # open a notebook within VSCode for example
    # or run
    # jupyter notebook