An easy-to-use platform for EEG experimentation in the classroom
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

code cleanup

+1 -11
-4
app/components/AnalyzeComponent.tsx
··· 18 18 DEVICES, 19 19 MUSE_CHANNELS, 20 20 EMOTIV_CHANNELS, 21 - KERNEL_STATUS, 22 21 EXPERIMENTS, 23 22 } from '../constants/constants'; 24 23 import { ··· 36 35 import ClickableHeadDiagramSVG from './svgs/ClickableHeadDiagramSVG'; 37 36 import PyodidePlotWidget from './PyodidePlotWidget'; 38 37 import { HelpButton } from './CollectComponent/HelpSidebar'; 39 - import { Kernel } from '../constants/interfaces'; 40 38 import { PyodideActions } from '../actions/pyodideActions'; 41 39 42 40 const ANALYZE_STEPS = { ··· 54 52 type: EXPERIMENTS; 55 53 deviceType: DEVICES; 56 54 isEEGEnabled: boolean; 57 - kernel: Kernel; 58 - kernelStatus: KERNEL_STATUS; 59 55 mainChannel: any; 60 56 epochsInfo: Array<{ 61 57 [key: string]: number | string;
+1 -1
app/components/HomeComponent/index.tsx
··· 92 92 } 93 93 94 94 componentDidMount() { 95 - this.props.PyodideActions.launch(); 95 + this.props.PyodideActions.Launch(); 96 96 this.setState({ recentWorkspaces: readWorkspaces() }); 97 97 } 98 98
-6
app/utils/filesystem/read.js
··· 8 8 return file; 9 9 }); 10 10 }; 11 - 12 - // ------------------------------------------- 13 - // Helper methods 14 - 15 - const formatFilePath = (filePath: string) => 16 - `"${filePath.replace(/\\/g, '/')}"`;