modified: SampleCode/PIONE/Advanced4/Create_Sample3d.pione
Add: PIONE tutorial to compare "each" with "all".
new file: SampleCode/PIONE/Basic4/SizeOut1.pione
new file: SampleCode/PIONE/Basic4/SizeOut2.pione
new file: SampleCode/PIONE/Basic4/SizeOut3.pione
new file: SampleCode/PIONE/Basic4/SizeOut4.pione
sampling_length=$(echo "scale=7; ${length} * ${ref_size} / ${image_size}" | bc)
- mrcImageSamplingUnitChange -i {$I[1]} -o {$I[1][1]}.sample3d -m 2 -S ${sampling_length} ${sampling_length} ${sampling_length}
+ mrcImageSamplingUnitChange -i {$I[1]} -o {$O[1]} -m 2 -S ${sampling_length} ${sampling_length} ${sampling_length}
End
--- /dev/null
+Rule Main
+ input '*.mrc'
+ output '*.txt'.all
+Flow
+ rule SizeOut {val:1}
+End
+
+Rule SizeOut
+ input '*.mrc'
+ output '{$I[1][1]}{$val}.txt'
+ param $val
+Action
+ wc {$I[1]} > {$O[1]}
+End
\ No newline at end of file
--- /dev/null
+Rule Main
+ input 'A.mrc'
+ output '*.txt'.all
+Flow
+ rule SizeOut {val:1.upto(5)}
+End
+
+Rule SizeOut
+ input 'A.mrc'
+ output 'A{$val}.txt'
+ param $val
+Action
+ wc {$I[1]} > {$O[1]}
+End
\ No newline at end of file
--- /dev/null
+Rule Main
+ input 'A.mrc'
+ output '*.txt'.all
+Flow
+ rule SizeOut
+End
+
+Rule SizeOut
+ input 'A.mrc'
+ output '*.txt'.all
+Action
+ for (( i=1; i<6; i++ ))
+ do
+ wc {$I[1]} > "{$I[1][1]}$i.txt"
+ done
+End
\ No newline at end of file
--- /dev/null
+Rule Main
+ input 'A.mrc'
+ output '*.txt'.all
+Flow
+ rule SizeOut {val:1.upto(5)}
+End
+
+Rule SizeOut
+ input 'A.mrc'
+ output '{$I[1][1]}{$val}.txt'
+ param $val
+Action
+ wc {$I[1]} > {$O[1]}
+End
\ No newline at end of file