Skip to content

Commit 7d737dc

Browse files
committed
chore: code commenting
1 parent 6201d77 commit 7d737dc

File tree

3 files changed

+11
-13
lines changed

3 files changed

+11
-13
lines changed

Diff for: src/data/tools.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"name": "Weka",
44
"url": "https://www.cs.waikato.ac.nz/ml/weka/",
5-
"category": "any",
5+
"category": "other",
66
"type": "File format",
77
"image": null,
88
"description": "Weka includes tools for data preparation, classification, regression, clustering, and other machine learning algorithms used for data mining.",
@@ -15,12 +15,12 @@
1515
{
1616
"name": "Shogun",
1717
"url": "https://github.com/shogun-toolbox/shogun",
18-
"category": "both",
18+
"category": "other",
1919
"type": "GUI",
2020
"image": "https://gisgeography.com/wp-content/uploads/2016/07/GRASS-GIS-logo-2.png",
2121
"description": "Shogun offers methods for efficient and unified machine learning.",
2222
"releaseYear": "1999",
23-
"language": ["Python", "Octave", "Java/Scala", "Ruby", "C#", "R", "Perl", "JavaScript"],
23+
"language": ["Python", "Octave", "Java", "Scala", "Ruby", "C#", "R", "Perl", "JavaScript"],
2424
"creators": "NumFOCUS",
2525
"developerQuote": "",
2626
"fileFormats": ["Model optimization", "Classical Machine Learning"]

Diff for: src/features/home/Filters.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -64,20 +64,20 @@ export class Filters extends Component {
6464
className={filters.categories.both ? 'both selected' : 'both'}
6565
onClick={() => this.handleCategoryClick('both')}
6666
>
67-
Both
67+
Python
6868
</Button>
6969
<Button
7070
className={filters.categories.other ? 'other selected' : 'other'}
7171
onClick={() => this.handleCategoryClick('other')}
7272
>
73-
Other
73+
JavaScript
7474
</Button>
75-
<Button
75+
{/* <Button
7676
className={filters.categories.other ? 'other selected' : 'other'}
7777
onClick={() => this.handleCategoryClick('other')}
7878
>
7979
Other
80-
</Button>
80+
</Button> */}
8181
</div>
8282
</div>
8383
);

Diff for: tests/features/home/Filters.test.js

+4-6
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@ describe('home/Filters', () => {
88
home: {},
99
actions: {},
1010
};
11-
const renderedComponent = shallow(
12-
<Filters {...props} />
13-
);
11+
const renderedComponent = shallow(<Filters {...props} />);
1412

15-
expect(
16-
renderedComponent.find('.home-filters').length
17-
).toBe(1);
13+
expect(renderedComponent.find('.home-filters').length).toBe(1);
1814
});
1915
});
16+
//TODO: add tests to see if we are received the correct amount of tools
17+
//Popup renders and closes

0 commit comments

Comments
 (0)