Giter VIP home page Giter VIP logo

Comments (6)

bdevans avatar bdevans commented on September 24, 2024 1

Rather than listing python3-notebook as a dependency (which I believe is deprecated), shouldn't we use jupyter lab? It might in general be better to install python packages with pip (in a virtual environment) rather than through (slowly updated) ubuntu packages.

from pychaste.

kwabenantim avatar kwabenantim commented on September 24, 2024 1

Thanks @bdevans. I'll update the package list.

from pychaste.

kwabenantim avatar kwabenantim commented on September 24, 2024

We have concluded that this is a good idea.

To Do

from pychaste.

kwabenantim avatar kwabenantim commented on September 24, 2024

Discussion @ Sheffield Hackathon

Coverage Testing

Add tests to check if there are new classes in cell_based without wrappers

Test against comprehensive list of supported use cases (100% coverage shouldn't be required initially for wrappers).

Configuring

Pybind11
Do not add Pybind11 code into trunk

Preferences in order:

  1. Use scikit-build (link) to get pybind11
  2. Use cmake fetchcontent
  3. Do a pip install into the chaste_codegen Python env (rename env?)

Pull latest pybind11 stable version to keep up to date with latest Python and C++ version support.

cppwg
Do a pip install into the chaste_codegen Python env

Conda packaging

Add Chaste developers to anaconda pychaste channel

Use GitHub actions for building conda packages

Build for Linux/MacOS amd64 and arm64 (Linux arm64 on self-hosted)

Docker

Merge into Chaste docker

Developer Documentation

  • Generating wrappers automatically
  • Explanation of contents of configuration file
  • Code inside wrappers
  • Additional code e.g. for custom PyChaste visualisation
  • Fixing common problems

from pychaste.

kwabenantim avatar kwabenantim commented on September 24, 2024

Directory structure:

Chaste/pychaste
│
├── dynamic
│   ├── config.yaml
│   ├── templates
│   └── wrappers
│       ├── cell_based
│       ├── core
│       ├── mesh
│       ├── ode
│       ├── pde
│       └── visualization
├── src
│   ├── cpp
│   │   ├── cell_based
│   │   ├── ode
│   │   └── visualization
│   └── py
│       ├── chaste
│       │   ├── cell_based
│       │   ├── core
│       │   ├── external
│       │   ├── mesh
│       │   ├── ode
│       │   ├── pde
│       │   └── visualization
│       ├── docs
│       │   ├── api
│       │   └── tutorial
│       ├── LICENSE
│       ├── MANIFEST.in
│       ├── pyproject.toml
│       ├── setup.cfg
│       └── setup.py
└── test
    ├── cell_based
    ├── core
    ├── data
    ├── mesh
    ├── ode
    ├── tutorial
    └── visualization

from pychaste.

kwabenantim avatar kwabenantim commented on September 24, 2024

Notes from Nottingham Hackathon

  • Add xvfb to recommended packages in chaste-dependencies
  • More informative error message about files and methods that needs changing
  • Error message should say how to fix the problem
  • Put PyChaste dev documentation on developer wiki
  • Update PyChaste web pages
  • Create a pychaste-dependencies ubuntu package in addition to chaste-dependencies

from pychaste.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.