Skip to content

Commit

Permalink
Refactoring the function name for splitting barcode
Browse files Browse the repository at this point in the history
  • Loading branch information
dasunpubudumal committed Apr 2, 2024
1 parent 92b98f0 commit 63a4aee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/QuantTypeWellFactories.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const splitWellName = (name) =>
* @param {string} fileName - The name of the file
* @returns {string} The plate barcode
*/
const splitPlateBarcode = (fileName) =>
const splitQcPlateBarcode = (fileName) =>
fileName.match(/^[A-Z]{4}-\d+-[A-Z]*/)[0]

/**
Expand Down Expand Up @@ -144,7 +144,7 @@ const ScRNATubeTapeStation = ({
type: SAMPLE_TYPE,
id,
concentration,
qcPlateBarcode: splitPlateBarcode(fileNameValue),
qcPlateBarcode: splitQcPlateBarcode(fileNameValue),
}
}

Expand Down

0 comments on commit 63a4aee

Please sign in to comment.