pelkmanslab / iBRAIN_BRUTUS

A version of canonical iBRAIN (2015) deployed on BRUTUS cluster
0 stars 0 forks source link

merge_jpgs_per_plate should produce 2 plate overviews when RGB1 and RGB2 are present #33

Open GitMotz opened 8 years ago

GitMotz commented 8 years ago

when 4 channels are present, create_jpgs generates RGB1.jpg and RGB2.jpg (same for IllCorrJPG); however, only 1 plate overview is generated by merge_jpgs_per_plate. it randomly takes RGB1 OR RGB2; It would be good to have 2 plate overviews, one using all RGB1.jpg, the second using all RGB2.jpg

this can be solved by adding to the calls of merge_jpgs_per_plate('${JPGDIR}') the second input argument, which filters jpgs according to names. https://github.com/pelkmanslab/iBRAIN_BRUTUS/blob/master/iBRAIN/core/modules/create_jpgs.sh

can be seen and tested in this folder: biol_uzh_pelkmans_s8/Data/Users/Doris/TEST_DATA/20151103_CN_LINKS_RESUB/