-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
The _w1 and _w2 file naming conventions used by MetaXpress software are currently not supported by easyXpress. I tried to tidy a project with two wavelength and tidyProject failed with the following error. The raw images are moved to the raw_images folder and named correctly, I think it's the plateThumbs function that is failing.
ERROR
> easyXpress::tidyProject(project_dir = "/Volumes/ECA_Image/Tim/20220407_dauerProtocol1")
...
Error in wrap.url(file, load.image.internal) : File not found
The culprit is probably here in plateThumbs.R where the mutate for well is using patter = "[A-Z][0-9][0-9]_thumbnail.png"
# make file df and add layout
file_df <- tibble::tibble(name = filtered_file_list) %>%
dplyr::mutate(plate = stringr::str_extract(name, pattern = "-p[:digit:]+-"),
plate = stringr::str_replace_all(plate, pattern = "-", replacement = ""),
well = stringr::str_extract(name, pattern = "[A-Z][0-9][0-9]_thumbnail.png"),
well = stringr::str_replace(well, pattern = "_thumbnail.png", replacement = "")) %>%
dplyr::group_by(plate) %>%
dplyr::mutate(layout = 1:dplyr::n()) %>%
dplyr::ungroup()
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request