Skip to content

Enhancement: adjust newline handling in tp_unfold_column_tool when unfolding the final column #1852

Description

@jennaj

toolshed.g2.bx.psu.edu/repos/bgruening/text_processing/tp_unfold_column_tool/9.5+galaxy3

history https://usegalaxy.eu/u/jenj/h/help-tp-unfold-column-tool-unfold-columns-from-a-table

reported at https://help.galaxyproject.org/t/unfold-bug-missing-newline-char/17687

Issue

The tool appears to behave inconsistently when the split column is the final column. In a multiline example, expanded rows are concatenated rather than written as separate lines (missing newlines). In a single-row example where the final column is the split column, the tool appears to make no visible change. The shared history includes both passing and failing examples.


Workaround for End-Users

  1. use Add column to create a column in your file, use this tool, then remove those extra lines from your output (a filter tool -- easier if your add column was REMOVEME type of text to search on.
  2. try a different tool such as Text reformatting with awk. Please see examples in linked Galaxy Help topic above.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions