sci-visus/OpenVisus

visus create exception empty array

spetruzza opened this issue · 1 comments

Executing a create command as follow:
visus create test.idx --box "0 511 0 511 0 255" --fields "data 1*uint8" --time 0 0 time%03d/

results in the following exception:

[main: 2092] [pid 7475:tid 139642717796352] [15.08.43.908] // *** STEP create ***
[main: 2093] [pid 7475:tid 139642717796352] [15.08.43.908] Input dtype() dims() args(create heart.idx --box 0 511 0 511 0 255 --fields data 1*uint8 --time 0 0 time%03d/)
[main: 2172] [pid 7475:tid 139642717796352] [15.08.43.908] ERROR: Visus throwing exception file(/path/to/OpenVisus/Executable/visus/main.cpp) line(117) expr(create got empty array)...
[Idx: 83] [pid 7475:tid 139642717796352] [15.08.43.908] Detaching IdxModule...

The create should not require an input Array (as when we use import), it should just create the metadata file (as before).

try now