Commit 3fcf04b1 authored by Alexander Butyaev's avatar Alexander Butyaev
Browse files

clean up

parent d267b676
......@@ -11,11 +11,11 @@ import {
* @returns score [Number] (positive number rounded up)
*/
function __calculateScore(
_sequences: Array<string | Array<string>>,
_guides: Array<string>,
sequences: Array<string | Array<string>>,
guides: Array<string>,
options: any
): number {
return __calculateScoreV1(_sequences, _guides, options);
return __calculateScoreV1(sequences, guides, options);
}
/**
......@@ -26,11 +26,11 @@ function __calculateScore(
* @returns score [Number] (positive number rounded up)
*/
function calculateScore(
_sequences: Array<string | Array<string>>,
sequences: Array<string | Array<string>>,
guides: Array<Array<string>>,
options: any
): number {
return calculateScoreV1(_sequences, guides, options);
return calculateScoreV1(sequences, guides, options);
}
export { calculateScore, __calculateScore };
......@@ -6,14 +6,14 @@
* @returns score [Number] (positive number rounded up)
*/
function __calculateScore(
_sequences: Array<string | Array<string>>,
sequences: Array<string | Array<string>>,
_guides: Array<string>,
options: any = {}
): number {
const guides: Array<Array<string>> = (_guides || []).map((o: string) => {
return o.split(':').filter((elm: string) => elm !== '-');
});
return calculateScore(_sequences, guides, options);
return calculateScore(sequences, guides, options);
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment