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
The approach for extending the current functionality of Bubble Analyser with new algorithms would be essentially the same in Python as it is now in Matlab, enforcing a common interface that all algorithms would need to follow.
One key aspect is if those other algorithms require a dependency that is not currently required by Bubble Analyser, neither installed. When developing the tool, and if the new algorithm is to be added permanently, then things are simple and it would be a question of adding that dependency to the project with poetry add new_dependency, as well as the relevant code in the right place following the right rules for the interface.
If the tool is standalone, that will not be possible as the whole Python environment will be self-contained and not possible - or very difficult - to add any new dependency. If no extra dependencies are required, adding a new algorithm should still be possible but some extra steps will be required to add the relevant new scripts to the path and be found by Python.
A deeper discussion on this point will be needed to advise appropriately based on the specific use cases.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The approach for extending the current functionality of Bubble Analyser with new algorithms would be essentially the same in Python as it is now in Matlab, enforcing a common interface that all algorithms would need to follow.
One key aspect is if those other algorithms require a dependency that is not currently required by Bubble Analyser, neither installed. When developing the tool, and if the new algorithm is to be added permanently, then things are simple and it would be a question of adding that dependency to the project with
poetry add new_dependency
, as well as the relevant code in the right place following the right rules for the interface.If the tool is standalone, that will not be possible as the whole Python environment will be self-contained and not possible - or very difficult - to add any new dependency. If no extra dependencies are required, adding a new algorithm should still be possible but some extra steps will be required to add the relevant new scripts to the path and be found by Python.
A deeper discussion on this point will be needed to advise appropriately based on the specific use cases.
Beta Was this translation helpful? Give feedback.
All reactions