Skip to content

Commit

Permalink
Remove unnecessary class
Browse files Browse the repository at this point in the history
  • Loading branch information
andrjohns committed Jul 16, 2023
1 parent 6cd0956 commit c36f74d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
5 changes: 2 additions & 3 deletions src/Classes/controlLimitsClass.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import rep from "../Functions/rep";
import plotKey from "./plotKey"
import astronomical from "../Outlier Flagging/astronomical"
import trend from "../Outlier Flagging/trend"
import two_in_three from "../Outlier Flagging/two_in_three"
Expand All @@ -8,7 +7,7 @@ import settingsClass from "./settingsClass";
import checkFlagDirection from "../Functions/checkFlagDirection"

type controlLimitsArgs = {
keys: plotKey[];
keys: { x: number, id: number, label: string }[];
values: number[];
numerators?: number[];
denominators?: number[];
Expand All @@ -23,7 +22,7 @@ type controlLimitsArgs = {

class controlLimitsClass {
[key: string] : any;
keys: plotKey[];
keys: { x: number, id: number, label: string }[];
values: number[];
numerators?: number[];
denominators?: number[];
Expand Down
5 changes: 2 additions & 3 deletions src/Classes/dataClass.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ import extractDataColumn from "../Functions/extractDataColumn"
import settingsClass from "./settingsClass"
import checkValidInput from "../Functions/checkValidInput"
import extractValues from "../Functions/extractValues"
import plotKey from "./plotKey"
import extractConditionalFormatting from "../Functions/extractConditionalFormatting"
import { defaultSettingsType } from "./defaultSettings";

class dataClass {
keys: plotKey[];
keys: { x: number, id: number, label: string }[];
numerators: number[];
denominators: number[];
xbar_sds: number[];
Expand All @@ -29,7 +28,7 @@ class dataClass {
const scatter_cond = extractConditionalFormatting<defaultSettingsType["scatter"]>(inputView, "scatter", inputSettings)

const valid_ids: number[] = new Array<number>();
const valid_keys: plotKey[] = new Array<plotKey>();
const valid_keys: { x: number, id: number, label: string }[] = new Array<{ x: number, id: number, label: string }>();

for (let i: number = 0; i < numerators.length; i++) {
if (checkValidInput(numerators[i],
Expand Down
3 changes: 0 additions & 3 deletions src/Classes/plotKey.ts

This file was deleted.

0 comments on commit c36f74d

Please sign in to comment.