You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that when converting from optimade-client, dependency on ase was added.
Was there a specific reason for that? ase brings a lot of other dependencies (matplotlib, scipy) that are not needed here.
It only seems to be used in src/ipyoptimade/subwidgets/summary.py, but is only imported if available.
So perhaps it would be better to have ase as an extras dependency?
The ase is required to render the structure of the queried results. If the package not installed the notebook will show nothing in the output widget. The reason is that the ase structure object is used as the middle format that can be then converted to other format (.cif, xyz etc.). Although optimade python package has its own Structure object as the middle format, but it used to has some problem with 1D/2D rendering. Usually the ase structure is more robust as the middle structure (for instance Materials-Consortia/optimade-python-tools#1212).
Let's keep this issue open and I'll come back to see if we can using optimade structure object and make ase structure optional.
It seems that when converting from
optimade-client
, dependency onase
was added.Was there a specific reason for that? ase brings a lot of other dependencies (matplotlib, scipy) that are not needed here.
It only seems to be used in
src/ipyoptimade/subwidgets/summary.py
, but is only imported if available.So perhaps it would be better to have ase as an extras dependency?
ipyoptimade/src/ipyoptimade/summary.py
Line 12 in 07ff958
CC @unkcpz
The text was updated successfully, but these errors were encountered: