Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[EEG Browser] Annotations: Add new and HED tags #8236

Conversation

laemtl
Copy link
Contributor

@laemtl laemtl commented Nov 22, 2022

Replaces #7829 including custom code from the EEGNet repo to date

@laemtl laemtl added the Blocked PR awaiting the merge, resolution or rejection of an other Pull Request label Nov 22, 2022
@laemtl laemtl force-pushed the 2021_11_12_support_for_adding_new_annotations_from_EEG_browser branch from 8d8fc51 to 1ff23f4 Compare November 22, 2022 20:37
@laemtl laemtl removed the Blocked PR awaiting the merge, resolution or rejection of an other Pull Request label Nov 24, 2022
@laemtl laemtl force-pushed the 2021_11_12_support_for_adding_new_annotations_from_EEG_browser branch from 1ff23f4 to 5063dda Compare November 25, 2022 01:24
@laemtl laemtl force-pushed the 2021_11_12_support_for_adding_new_annotations_from_EEG_browser branch 2 times, most recently from 923efdd to 5130d0c Compare November 25, 2022 03:52
@laemtl laemtl changed the title [EEG Browser][Feature] Ability to add new annotations from module [EEG Browser] Add new annotations and HED tags Nov 25, 2022
@laemtl laemtl force-pushed the 2021_11_12_support_for_adding_new_annotations_from_EEG_browser branch 3 times, most recently from 43ac725 to cbf5d67 Compare November 25, 2022 04:12
@laemtl laemtl changed the title [EEG Browser] Add new annotations and HED tags [EEG Browser] Annotations: Add new and HED tags Nov 25, 2022
@laemtl laemtl force-pushed the 2021_11_12_support_for_adding_new_annotations_from_EEG_browser branch from cbf5d67 to 9f75ebe Compare November 25, 2022 04:54
$db = $factory->database();
$factory = \NDB_Factory::singleton();
$user = $factory->user();
$db = $factory->database();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @laemtl you could do the following instead of initializing the factory.

$user = $request->getAttribute('user');
$db    = $request->getAttribute("loris")->getDatabaseConnection();

Copy link
Member

@maltheism maltheism left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @laemtl the frontend code should have comments that will satisfy the "valid-jsdoc of eslint" even if disabled. Otherwise everything looks okay although I'm unable to manually test.

@laemtl
Copy link
Contributor Author

laemtl commented Nov 28, 2022

Hi @laemtl the frontend code should have comments that will satisfy the "valid-jsdoc of eslint" even if disabled. Otherwise everything looks okay although I'm unable to manually test.

I am working on a separate PR that will enable ESLint and fix all those issues. It would be easier since I have one PR based on that one that I would like to rebase.

@laemtl laemtl added the Blocking PR should be prioritized because it is blocking the progress of another task label Nov 28, 2022
@driusan driusan merged commit f427144 into aces:main Dec 1, 2022
@christinerogers
Copy link
Contributor

This PR replaces #7828 and #7829 original PRs contributed Nov.2021 by @jesscall for EEGNet.
Additional EEGNet custom code was also wrapped into this PR (work by @jesscall and @Andesha)
Thanks @laemtl for bringing this forward and getting the convergence resolved quickly.

@christinerogers christinerogers added Add to Release Notes PR change should be highlighted in Release notes (important security, features and bugfixes) and removed Blocking PR should be prioritized because it is blocking the progress of another task labels Feb 9, 2023
@ridz1208 ridz1208 added this to the 25.0.0 milestone Mar 6, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Add to Release Notes PR change should be highlighted in Release notes (important security, features and bugfixes)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants