Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

🐛 PRTL-1976 filter blank lines #2265

Merged
merged 1 commit into from
Feb 1, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/packages/@ncigdc/components/Modals/BAMModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type TProps = {

export const processBAMSliceInput = (userInput: string): Object => {
if (userInput) {
const lines = userInput.split('\n');
const lines = userInput.split('\n').filter(v => v.length);
return {
regions: lines.map(line => {
const region = line.split('\t');
Expand Down