Closed tischfis closed 1 year ago
Hi @tischfis,
Thanks for reporting this. Can you provide a reproducible example?
Regards, Marcel
Hi,
Using the function slicing()
slicing(uuid = "06bf038e-5a44-4a82-b44b-04a94b4a63cd", regions = c("chr1:41553924-42890396","chr2:8067262-9367429"),token = token, legacy = FALSE,destination ="~home/temp/temp.bam",overwrite = F) Error: Tried to unbox a vector of length 2
When I created a local instance of slicing() replacing else body <- list(regions = unbox(regions)) with: else body <- list(regions=(regions))
The method no longer throws an error, however I haven’t tried this using a single region.
Sam
I get an error when using the code you mention above:
> body <- list(regions = unbox(regions))
Error: Tried to unbox a vector of length 2
When submitting a character list to slice() (works given a single region but not multiple) Error: Tried to unbox a vector of length 2
follow error to code unbox(regions)