# Programming a script to automate Slicer Extension Module for DiceComputation (CLI)

**URL:** <https://discourse.slicer.org/t/programming-a-script-to-automate-slicer-extension-module-for-dicecomputation-cli/3924>\
**Category:** Development\
**Tags:** extensions-manager, cli\
**Created:** [August 28, 2018, 1:41pm UTC](https://discourse.slicer.org/t/programming-a-script-to-automate-slicer-extension-module-for-dicecomputation-cli/3924 "2018-08-28T13:41:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Sam\_Horvath](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sam_horvath/32/3092_2.png) [@Sam\_Horvath](https://discourse.slicer.org/u/Sam_Horvath)\
**Post date:** [August 28, 2018, 2:00pm UTC](https://discourse.slicer.org/t/programming-a-script-to-automate-slicer-extension-module-for-dicecomputation-cli/3924/2 "2018-08-28T14:00:58Z")

</div>

The source code for the DiceComputation module is here: [https://github.com/lchauvin/DiceComputation](https://github.com/lchauvin/DiceComputation)

This is a loadable module, not a CLI. However, computing the Dice coefficient is implemented in the logic for the module, and so should be easily accessible through python. See: [Help with Accessing Module Logic in Python Scripted Modules](https://discourse.slicer.org/t/help-with-accessing-module-logic-in-python-scripted-modules/409)

---

_[View the full topic](https://discourse.slicer.org/t/programming-a-script-to-automate-slicer-extension-module-for-dicecomputation-cli/3924)._
