Skip to content

Commit

Permalink
[tests-] test putValue for merged row when source row is missing #2647
Browse files Browse the repository at this point in the history
  • Loading branch information
anjakefala committed Jan 4, 2025
1 parent 9c79eaf commit 6b0a78a
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sample_data/a.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
key source_sheet
a_only a
both a
3 changes: 3 additions & 0 deletions sample_data/b.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
key source_sheet
b_only b
both b
4 changes: 4 additions & 0 deletions tests/golden/pr2647.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
key source_sheet
b_only c
both a
a_only a
10 changes: 10 additions & 0 deletions tests/pr2647.vdj
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!vd -p
{"sheet": null, "col": "", "row": "", "longname": "open-file", "input": "sample_data/a.tsv", "keystrokes": "o", "comment": null, "replayable": true}
{"col": "", "row": "", "longname": "open-file", "input": "sample_data/b.tsv", "keystrokes": "o", "replayable": true}
{"sheet": "a", "col": "key", "row": "", "longname": "key-col", "input": "", "keystrokes": "!", "comment": "toggle current column as a key column", "replayable": true}
{"sheet": "b", "col": "key", "row": "", "longname": "key-col", "input": "", "keystrokes": "!", "comment": "toggle current column as a key column", "replayable": true}
{"sheet": "b", "col": "", "row": "", "longname": "sheets-stack", "input": "", "keystrokes": "Shift+S", "comment": "open Sheets Stack: join or jump between the active sheets on the current stack", "replayable": true}
{"sheet": "sheets", "col": "", "row": 1, "longname": "stoggle-row", "input": "", "keystrokes": "t", "comment": "toggle selection of current row", "replayable": true}
{"sheet": "sheets", "col": "", "row": 2, "longname": "stoggle-row", "input": "", "keystrokes": "t", "comment": "toggle selection of current row", "replayable": true}
{"sheet": "sheets", "col": "", "row": "", "longname": "join-selected", "input": "merge", "keystrokes": "&", "comment": "merge selected sheets with visible columns from all, keeping rows according to jointype", "replayable": true}
{"sheet": "b+a", "col": "source_sheet", "row": 0, "longname": "edit-cell", "input": "c", "keystrokes": "e", "comment": "edit contents of current cell", "replayable": true}

0 comments on commit 6b0a78a

Please sign in to comment.