Giter Club home page Giter Club logo

openalea-recipes's Introduction

Build Status Build status

OpenAlea Lab

Documentation

Official documentation is available at openalea.github.io

Install

To install OpenAlea use conda

If you want to retrieve the code from git, use git clone. Then use this command that will retrieve all the submodules::

git submodule update --init --recursive

Contribute

If you want to contribute to code, please have a look to github workflow

openalea-recipes's People

Contributors

artzet-s avatar fredboudon avatar pfernique avatar pradal avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

openalea-recipes's Issues

Sequence_analysis integration

Add tool, stat_tool and sequence analysis to the process.

Check if all these packages are currently compatible with the other ones.

Install OpenAlea using conda

Conda simplify the installation process of binary packages and their dependencies for end users.

Making OpenAlea installable with conda will solve the "installation nightmare" users face today.

To do that, OpenAlea packages and deps have to be packaged with conda and adapt when needed like:

  • qt and pyqt
  • scons and sconsx
  • deploy

g++ error ?

Hello,
I tried following conda recipe on Ubuntu 14.04:

name: plg_lineage_editor
channels:
  - openalea
  - defaults
dependencies:
  - python=2.7
  - openalea.sconsx
  - openalea.components
  - pyqglviewer

But importing PyQGLViewer fails as follow:

$ source activate plg_lineage_editor
(pgl_lineage_editor) $ python -c 'import PyQGLViewer'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/jlegrand/miniconda2/envs/pgl_lineage_editor/lib/python2.7/site-packages/../../libQGLViewer.so.2)

Thanks a lot for the rest of the recepies!
Jo

Fractalysis

We need to add fractalysis to the openalea-recipes

Move to conda-forge

The idea is to move all the recipes to conda-forge.
This will induce major modification in the code:

  • Code need to work with non-patched software:
    Each package needs to run natively, with current version of all the dependencies (bison, boost, ...)

PyQGLViewer recipe

Add a PyQGLViewer recipe to conda.
This is needed for LPy and OpenAleaLab

Error in openalea.plantgl

libCGAL reference wrong libraries:

ImportError: dlopen(/Users/pradal/miniconda2/envs/cereal/lib/python2.7/site-packages/OpenAlea.PlantGL-2.23.2-py2.7-macosx-10.6-x86_64.egg/openalea/plantgl/math/_pglmath.so, 2): Library not loaded: /usr/local/opt/gmp/lib/libgmp.10.dylib
Referenced from: /Users/pradal/miniconda2/envs/cereal/lib/libCGAL.13.0.1.dylib
Reason: image not found

vplants.plantgl python import error

Using the following config file to create a conda environment (ubuntu 16.04):

name: lineage_editor
channels:
  - openalea
  - defaults
dependencies:
  - python=2.7
  - openalea.sconsx
  - openalea.components
  - vplants.plantgl
  - pyqglviewer

I get an error when testing python import:

>>> from vplants.plantgl.all import Scene
Exception Boost.Python.ArgumentError: 'Python argument types in\n    SceneCodec.__del__(AscCodec)\ndid not match C++ signature:\n    __del__(PySceneCodec*)' in <bound method AscCodec.__del__ of <openalea.plantgl.codec.asc.AscCodec object at 0x7fa841ba6368>> ignored
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/jonathan/.miniconda2/envs/lineage_editor/lib/python2.7/site-packages/VPlants.PlantGL-2.21.0-py2.7.egg/openalea/plantgl/all.py", line 8, in <module>
    import codec
  File "/home/jonathan/.miniconda2/envs/lineage_editor/lib/python2.7/site-packages/VPlants.PlantGL-2.21.0-py2.7.egg/openalea/plantgl/codec/__init__.py", line 1, in <module>
    import asc
  File "/home/jonathan/.miniconda2/envs/lineage_editor/lib/python2.7/site-packages/VPlants.PlantGL-2.21.0-py2.7.egg/openalea/plantgl/codec/asc.py", line 110, in <module>
    codec = AscCodec()
  File "/home/jonathan/.miniconda2/envs/lineage_editor/lib/python2.7/site-packages/VPlants.PlantGL-2.21.0-py2.7.egg/openalea/plantgl/codec/asc.py", line 16, in __init__
    sg.SceneCodec.__init__(self,"ASC",sg.SceneCodec.Mode.ReadWrite)
Boost.Python.ArgumentError: Python argument types in
    SceneCodec.__init__(AscCodec, str, Mode)
did not match C++ signature:
    __init__(_object*)
    __init__(_object*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > name)
    __init__(_object*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > name, PGL::SceneCodec::Mode mode)

Correct Python version is not correctly chosen

The Python version was chosen using CONDA_VERSION.
When CONDA_VERSION was 2, Python 2 was selected.
Otherelse, Python 3 was chosen.

However, this is not longer true. We have to specify explictly both CONDA_VERSION and PYTHON_VERSION in travis and appveyor

openalea.deploy: CONDA_ENV_PATH is no more defined

openalea.deploy has a method that detects if the commands are run in a conda environment.
In this case, the modification of environment variables are disable.

The method is_conda_env check if CONDA_ENV_PATH is defined.
However, this variable is no more define by conda activate script (see conda/conda#2312)

Please, replace it with CONDA_PREFIX variable.

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.