Skip to content

Conversation

@rbarillot
Copy link
Collaborator

Hi,

@pradal and @baugetfa : could you please have a look to the 2 notebooks I added in the directory 'example\Notebooks'?

In particular, I have the following questions:

  • are they illustrative enough?
  • I have used some ipywidgets. Should the library be added to the dependancies of WheatFspm now?
  • I wanted to add some pgljupyter widgets to visualise the plant architecture originating from the adel-mtg. Is there a standard installation for those widgets now?
  • Should I include a binder container to allow for the notebooks to be run on-line?

TY

@rbarillot rbarillot requested review from baugetfa and pradal October 10, 2025 12:09
@rbarillot rbarillot added the tutorials How to use your package label Oct 10, 2025
@baugetfa
Copy link
Contributor

baugetfa commented Oct 10, 2025

I will have look this afternoon.

To answer your questions:

ipywidgets
you can add the dependence in the pyproject.toml file in the section doc.

pglviewer
openalea widgets can be installed as follow

mamba install -c openalea3 -c conda-forge openalea.widgets

then you can see examples of how to use it there

binder
At this stage, it is not in the guidelines but it is still a good idea to have it.

Copy link
Contributor

@baugetfa baugetfa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Notebooks are very informative, therefore to explore the model possibilities this is nice.
They run almost perfectly, I just had to correct 2 things see my comments in the review.

@rbarillot
Copy link
Collaborator Author

rbarillot commented Oct 21, 2025

Thank you very much @baugetfa for your review.
There is a last issue : I can't install the openalea widgets. The command you provided returns the following error:
error libmamba Could not solve for environment specs The following package could not be installed └─ openalea.widgets =* * does not exist (perhaps a typo or a missing channel). critical libmamba Could not solve for environment specs

I also tried conda install openalea3/label/dev::openalea.widgets but I got the error:
LibMambaUnsatisfiableError: Encountered problems while solving: nothing provides k3d needed by openalea.widgets-1.0.6.dev-pyh332efcf_0 Could not solve for environment specs The following package could not be installed └─ openalea.widgets =* * is not installable because it requires └─ k3d =* *, which does not exist (perhaps a missing channel).

Copy link
Collaborator Author

@rbarillot rbarillot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issues fixed

@baugetfa
Copy link
Contributor

baugetfa commented Oct 21, 2025

Just in case try:
create -n test -c openalea3/label/dev -c openalea3/label/rc openalea.widgets

@rbarillot
Copy link
Collaborator Author

I have the same error:
`Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:

  • nothing provides k3d needed by openalea.widgets-1.0.6.dev-pyh332efcf_0

Could not solve for environment specs
The following package could not be installed
└─ openalea.widgets =* * is not installable because it requires
└─ k3d =* *, which does not exist (perhaps a missing channel).`

@rbarillot rbarillot merged commit 3047956 into master Oct 22, 2025
6 checks passed
@baugetfa
Copy link
Contributor

Ok. Sorry I think what is missing is -c conda-forge I forgot it because it is by default on my system.

@rbarillot
Copy link
Collaborator Author

this worked, TY

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tutorials How to use your package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants