Skip to content

make block definitions more flexible and intuitive #118

@sebkopf

Description

@sebkopf

there's several aspect so this feature request:

  1. recognize that orbi_define_block_for_flow_injection is the more universal function and should just be renamed to orbi_define_block (with orbi_define_block_for_dual_inlet being the more specialized case) - with proper deprecation of course that the old orbi_define_block_for_flow_injection still exists but throws a warning once every 8 hours that it's now just orbi_define_block
  2. rename sample_name to block_name in orbi_define_block since sample_name is too specific, this can be a reference material or a sample and sample_name is confusing in this context
  3. allow for filename parameter to specify which file(s) to define a block for (this make sense for both orbi_define_block and orbi_define_blocks_for_dual_inlet) - default is NULL which means define the block for all files
  4. introduce an orbi_define_blocks_from_table function that allows block definitions from a tibble or csv/tsv/xlsx file - careful to still allow dynamic assignment of sample_name from other variables (see orbi_define_block_for_flow_injection does not allow dynamic definition of sample_name #64)

@123caj and @FR86, what do you think of this implementation suggestion?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions