Comments (6)
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.
Thanks @bdevans. I'll update the package list.
from pychaste.
We have concluded that this is a good idea.
To Do
from pychaste.
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:
- Use scikit-build (link) to get pybind11
- Use cmake fetchcontent
- 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.
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.
Notes from Nottingham Hackathon
- Add
xvfb
to recommended packages inchaste-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 apychaste-dependencies
ubuntu package in addition tochaste-dependencies
from pychaste.
Related Issues (20)
- Move repository to Chaste organisation
- Move PyChaste website HOT 8
- Use New Chaste Mesh Generators HOT 1
- Update Wrappers
- Versioning Releases HOT 2
- Fix Automatic Wrapper Generator Bugs HOT 3
- Use templated wrappers HOT 1
- Build conda packages for Python 3.8 - 3.12
- Add Bindings Tutorials
- Test Chaste/PyChaste Diff
- Add PyChaste Test Suite to Chaste CI
- Use Jinja templates in automatic wrapper generation HOT 1
- Broken pychaste conda install HOT 2
- Consider unifying Chaste and PyChaste docker images
- Improve Tutorial Formatting
- Increase Workflow Resources
- Release PyChaste 2024.1 HOT 1
- Test Conda Installation
- Raise all classes to top-level scope
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pychaste.