diff --git a/dicom2stl.py b/dicom2stl.py index fc50d72..5929da0 100755 --- a/dicom2stl.py +++ b/dicom2stl.py @@ -427,6 +427,9 @@ def dicom2stl(args): print("") -if __name__ == "__main__": +def main(): args = parseargs.parseargs() dicom2stl(args) + +if __name__ == "__main__": + main() diff --git a/pyproject.toml b/pyproject.toml index 5a5bb17..6a09e3c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "dicom2stl" authors = [ { name="David Chen", email="dchen@mail.nih.gov" }, ] -description = "A script to extract an STL surface mesh from a DICOM volume image." +description = "A script to extract an iso-surface from a DICOM series to produce an STL mesh." readme = "README.md" requires-python = ">=3.8" classifiers = [