Call to inference_tflow was always setting size_factors to "fixed". Change to use var set from clonealign call.
length(size_factors == 1) always true, size_factors is in obj. changed to length(size_factors) == 1all(size_factors > 0) to ~all(size_factors > 0) or statement would evaluate to true always and halt with positive non zero size factors.
Call to inference_tflow was always setting size_factors to "fixed". Change to use var set from clonealign call. length(size_factors == 1) always true, size_factors is in obj. changed to length(size_factors) == 1 all(size_factors > 0) to ~all(size_factors > 0) or statement would evaluate to true always and halt with positive non zero size factors.