These are chat archives for thunder-project/thunder

31st
May 2016
Nikita Vladimirov
@nvladimus
May 31 2016 17:50
Hi, guys! I am trying to uncompress files using spark as before, but with the new version it does not seem to work like before:
fileList = glob.glob(rawDir + 'TM*.stack.bz2')
sc.parallelize(fileList).foreach(compress.bz2uncompressStack)
it looks busy but never does anything. Is calling sc.parallelize().foreach still legit in the new version?
Nikita Vladimirov
@nvladimus
May 31 2016 21:21
ok, it works fine after restart. Sorry for posting here!
Nikita Vladimirov
@nvladimus
May 31 2016 21:47
how does squeeze() function work? I try reference = datCrop[0:20, : , : , : ].mean().shape, it returns (1, 500, 500, 20), Then I try reference.squeeze().shape, and it returns the same (1, 500, 500, 20). Shouldn't it remove the single-dimensional axis?
@jwittenbach , maybe this function is still in development?