Comments (8)
Also happens in a clean scene where few FB nodes were imported directly:
ERROR opening colour file /Users/inorton/work/test_fb/atlasconnectome/NEWclustering_k1200_30000fiber/iteration_00009/initial_clusters/DiffusionTensorDisplayProperties_1197.ctbl
from slicerdmri.
Is there some way we can avoid needing to save these color tables? Having so many of them would be extremely annoying for all users especially me.
from slicerdmri.
It looks like the extra storage nodes are created on saving of the SceneView node. It does this to prevent some other issues related to restoring Scene Views. I would need to dig deeper to figure out how to fix this without breaking other functionality. It may take couple more days, do you want me to spend this time? Also, I would suggest to keep track of slicer issues in the Mantis so we can reference other issues there.
from slicerdmri.
Hi Lauren, do you remember why you made vtkMRMLDiffusionTensorDisplayPropertiesNode a subclass of vtkMRMLColorTableNode? Does it need to be that? If we change this it will not try to save it into a file. I tacked the original problem to changes made by Nicole in vtkMRMLSceneViewNode in rev 24377, I am discussing the issue with her, but it i related to other bugs, and the easiest way to fix would be not dervie vtkMRMLDiffusionTensorDisplayPropertiesNode from vtkMRMLColorTableNode
from slicerdmri.
Isaiah do you know why? Is there dti specific stuff in it?
Lauren
from slicerdmri.
There is a comment about why at the beginning of the header (vtkMRMLDiffusionTensorDisplayPropertiesNode.h
):
32 /// This class inherits from the vtkMRMLColorNode->vtkMRMLColorTableNode superclasses,
33 /// used for vtkMRMLModelNodes and vtkMRMLVolumeNodes, in order to
34 /// provide specific lookup tables for the scalar invariant display.
However, such functionality was not implemented as far as I can tell:
493 /// TO DO: add specific lookup tables ranging from 0..1 for or -1 1
494 /// for scalar invariants with those ranges
So I think changing the parent is fine.
On the other hand, the easiest fix is to override vtkMRMLColorTableNode::CreateDefaultStorageNode
to return NULL
, which will prevent storage node generation when saving the scene. (Old scenes with the ColorStorageNode
items would still print the errors, but I don't know if that can be avoided in any case)
from slicerdmri.
Submitted a slicer bug:
http://na-mic.org/Bug/view.php?id=4190
from slicerdmri.
Fixed using Isaiah's suggestion: Set default storage node for vtkMRMLDiffusionTensorDisplayPropertiesNode to NULL since it does not need to store any data in a separate file.
At revision: 25067
from slicerdmri.
Related Issues (20)
- Glyphs not showing in 2D views
- Fiber bundle selection with custom function
- improve rendering using the ambient occlusion HOT 1
- SlicerDMRI build errors with C++17 HOT 3
- Update modules to use markups instead of annotations HOT 2
- build error due to default parameter in Markups ROI method
- Threat detected in SlicerDMRI HOT 1
- Apply the `FiberTractMeasurements` module to tractography data loaded into Slicer
- `Filename` field empty when loading tractography data as `FiberBundle`s HOT 2
- Load scene into Slicer with empty vtk errors HOT 2
- Provide class and and method documentation HOT 1
- Tests failing due to probably import sorting issues HOT 1
- Fiber measure tests failing due to differences due to differing baseline data HOT 6
- Tests using `FiberBundleFile` data are failing HOT 5
- Remove use of deprcated "active" camera attribute in MRML scenes used in tests
- Memory leaks reported in tests HOT 12
- Doxygen ignores CLI and Scripted modules
- Tractography Display of Scalars on Fiber Bundles is not working HOT 1
- Qt methods not wrapped correctly HOT 1
- cmake error HOT 1
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 slicerdmri.