test.py 216 B

123456789101112131415
  1. import os
  2. import sys
  3. import json
  4. import pathlib
  5. import slicer
  6. def main(configFile):
  7. node=slicer.vtkMRMLScalarVolumeNode()
  8. print(node)
  9. if __name__=='__main__':
  10. print('Main')
  11. main(sys.argv[1])
  12. quit()