Comments (7)
@gregsharp long time no see!
I assume you built using the superbuild approach - can you confirm? Did pyradiomics build as well? Were there any errors?
It is not clear what is the linux-related issue we are experiencing, it might be specific to the dashboard. I can try build/install on linux on Monday when I am back in the office. I am not sure I tried that.
from slicerradiomics.
@gregsharp I tried on linux, and I see what you mean. I can't figure out myself how to set up the extra directories so that it can find the dependency python packages! I think it is supposed to somehow configure the launcher with the extra paths, but I don't know how it works.
@jcfr here is what I tried (to be as close to the dashboard process as possible):
- Build SlicerRadiomics and then
make package
ininner-build
- Add
<package>/lib/python2.7/site-packages
and<package>/lib/Slicer-4.7/qt-scripted-modules
in Application settings > Modules extra paths.
This does not work - I cannot import the radiomics package. Do you know what is going on?
Dashboard behavior is different today http://slicer.cdash.org/viewBuildError.php?buildid=1080469 from what we had before in #16. I did not have that problem when I did build+package on my Ubuntu.
from slicerradiomics.
In a nutshell, it would be difficult to have a systematic way of inferring the python path based only on the scripted module path.
Manually setting the PYTHONPATH
allows to address the reported problem. for example:
$ SlicerRadiomics_BUILD_DIR=/home/jcfr/Projects/SlicerRadiomics-Release
$ PYTHONPATH=$SlicerRadiomics_BUILD_DIR/python-pyradiomics-install/lib/python2.7/site-packages \
./Slicer --additional-module-path $SlicerRadiomics_BUILD_DIR/inner-build/lib/Slicer-4.7/qt-scripted-modules/
Number of registered modules: 141
Enabling C extensions
Number of instantiated modules: 141
Number of loaded modules: 141
Switch to module: "Welcome"
[...]
from slicerradiomics.
Thank you! I will update the user guide
from slicerradiomics.
Update:
@fedorov The following is a general solution for any extension:
build_dir=/home/jcfr/Projects/SlicerRadiomics-Release/inner-build/
./Slicer \
--launcher-additional-settings $build_dir/AdditionalLauncherSettings.ini \
--additional-module-path $build_dir
from slicerradiomics.
I will update the user guide
@fedorov The referenced topic should do it
from slicerradiomics.
Greg, let us know if this resolved your problems. Sorry for the delay addressing this issue.
from slicerradiomics.
Related Issues (20)
- Slicer Radiomics HOT 1
- Batch Processing HOT 5
- voxel based feature extraction HOT 1
- SlicerRadiomics extension not available for Slicer 4.11.0 on Mac OS HOT 9
- Feature calculation failed on windows HOT 2
- Resampling and LoG filtering fail when done at the same time. HOT 2
- How to create Mask file of segmentation? HOT 2
- Radiomics does not work in latest stable release of Slicer HOT 31
- Install SlicerRadiomics From 3D Slicer on MAC 10.15.5 HOT 3
- No module named radiomics
- Unable to install SlicerRadiomics on Windows from ExtensionsManager
- Cannot use the module with input mask defined by a segmentation node
- Fix extension build HOT 2
- Grant maintainer access to slicer core developers HOT 4
- Add support for additional image transformations in pyradiomics
- Add support for BATCH mode
- SlicerRadiomics unavailable for macOS since Slicer Preview 5.3.0 as of 2023-03-31 HOT 19
- SlicerRadiomics extension cannot be found on mac HOT 2
- Add UI control for normalization option
- Error extracting features HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slicerradiomics.