Skip to contents

Copies the tissue example into a temporary directory n times so the queue has real files to iterate.

Usage

at_example_session(n = 5L, call = rlang::caller_env())

Arguments

n

Number of images in the queue. Default 5.

call

The calling environment, for error reporting.

Value

An annot_session.

Examples

sess <- at_example_session(3)
at_session_status(sess)
#> # A tibble: 3 × 9
#>     idx entry_id              export_stem path  name  status project_path n_rois
#>   <int> <chr>                 <chr>       <chr> <chr> <chr>  <chr>         <int>
#> 1     1 entry_at_29586ecae94… entry_at_2… /tmp… imag… pendi… NA                0
#> 2     2 entry_at_29586ecae94… entry_at_2… /tmp… imag… pendi… NA                0
#> 3     3 entry_at_29586ecae94… entry_at_2… /tmp… imag… pendi… NA                0
#> # ℹ 1 more variable: modified <dttm>