GenomicFeatures.jl icon indicating copy to clipboard operation
GenomicFeatures.jl copied to clipboard

default values for Vector{Strand}

Open phaverty opened this issue 7 years ago • 1 comments

Could similar on an array of Strand object be initialized as an array of STRAND_NA?

phaverty avatar Dec 02 '17 17:12 phaverty

The docstring of similar states it creates an "uninitialized" array. So, I think there is no reason to define a specialized similar method that initializes an array. If you need an initialized version, you can call fill(STRAND_NA, 10).

In what situation do you need an initialized vector of strands when you call similar?

bicycle1885 avatar Dec 03 '17 09:12 bicycle1885