Giter Club home page Giter Club logo

core's Introduction

openalea.core

Documentation status

OpenAlea.Core is able to discover and manage packages and logical components, build and evaluate dataflows and Generate final applications

core's People

Contributors

aurelienbesnier avatar bbrument avatar christian34 avatar cokelaer avatar dbarbeau avatar fredboudon avatar gbaty avatar gcerutti avatar pfernique avatar pradal avatar revesansparole avatar ricomos avatar rocsg avatar thomasarsouze avatar wilgawox avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

core's Issues

Python 3

Port openalea.core to Python 3

Change the evaluator in code

There is no setter method to change the evaluator for a workflow but change the eval_algo variable of the composite node.
Plus the list of available evaluator is not user friendly to get :
from openalea.core.algo import dataflow_evaluation as df
df.evaluators

Code error in `openalea.core.compositenode.CompositeNode.remove_edge`

Application crash when deleting a edge:

File "/home/fabrice/Documents/Openalea_Dev/core/src/openalea/core/node.py", line 643, in set_input_state
index = self.map_index_in[index_key]
KeyError: 1

To reproduce:

  • place one widgets with 2 output like hydroroot.compute_surface
  • place a second widget like float
  • link the float output to the compute_surface input
  • delete the edge

The reason:

  • in openalea.core.compositenode.CompositeNode.remove_edge port = self.port(target) is not the correct port widget

Replace imp by importlib package

core/src/openalea/core/package.py:44: DeprecationWarning: the imp module is deprecated in favour     of importlib; see the module's documentation for alternative uses
import imp

In the method register_package use importlib rather than imp

in core there are several imports from `openalea.visualea`

Should we have from openalea.visualea in core. They appear in instantiate functions in:

  • src/openalea/core/node.py, twice
  • src/openalea/core/compositenode.py, twice
  • src/openalea/core/data.py, once

Should not be a problem, because those lines should be called only when using graphical interface, I guess, so when we use visualea.

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.