目录
James Butler

BUG: Fix GetFileNameWithoutExtension() failing when called with no arguments

The std::string overload added in https://github.com/Slicer/Slicer/commit/74d1fa0b9479c304d6dc18050ed94252e833aedb caused the VTK Python wrapper to see two overloads of GetFileNameWithoutExtension, breaking the default argument on the const char* version. As a result, calling the method with no arguments from Python raised:

TypeError: GetFileNameWithoutExtension() takes exactly 1 argument (0 given)

Guard the std::string overload with #ifndef VTK_WRAP so it is hidden from the VTK wrapper while remaining available to C++ callers.

10天前30503次提交

DOI: 10.1016/j.mri.2012.05.001 Citations on Semantic Scholar CI (Build) OpenSSF Scorecard

Slicer, or 3D Slicer, is a free, open source software package for visualization and image analysis.

3D Slicer is natively designed to be available on multiple platforms, including Windows, Linux and macOS.

Build instructions for all platforms are available on the Slicer wiki:

For Slicer community announcements and support, visit:

For documentation, tutorials, and more information, please see:

See License.txt for information on using and contributing.

关于

医学图像处理、三维重建与可视化平台,常用于影像组学和临床研究。

153.2 MB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802047560号