-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[electrophysiology_browser] HED Tag Support #9033
[electrophysiology_browser] HED Tag Support #9033
Conversation
de83160
to
fbcdd62
Compare
Blocked by #9032 |
Done. Clearing changes requested status
@jeffersoncasimir Can you rebase? |
added |
...s/electrophysiology_browser/jsx/react-series-data-viewer/src/eeglab/EEGLabSeriesProvider.tsx
Outdated
Show resolved
Hide resolved
modules/electrophysiology_browser/jsx/react-series-data-viewer/src/series/components/Form.js
Outdated
Show resolved
Hide resolved
modules/electrophysiology_browser/php/models/datasettags.class.inc
Outdated
Show resolved
Hide resolved
modules/electrophysiology_browser/php/models/datasettags.class.inc
Outdated
Show resolved
Hide resolved
modules/electrophysiology_browser/php/models/datasettags.class.inc
Outdated
Show resolved
Hide resolved
modules/electrophysiology_browser/php/models/datasettags.class.inc
Outdated
Show resolved
Hide resolved
modules/electrophysiology_browser/php/models/electrophysioevents.class.inc
Show resolved
Hide resolved
modules/electrophysiology_browser/php/models/electrophysioevents.class.inc
Outdated
Show resolved
Hide resolved
basically co-dependent with aces/Loris-MRI#1041 (blocked and blocking) |
Addressed. Updating status for overview
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a couple minor non-blocking things
@@ -28,18 +28,22 @@ class ElectrophysioFile implements \LORIS\Data\DataInstance | |||
private $_parameters = []; | |||
private $_chunksURLs = []; | |||
private $_splitFileIDs = []; | |||
private \LORIS\LorisInstance $loris; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you probably want this to be protected, not private.
*/ | ||
function __construct(int $physiologicalFileID) | ||
function __construct(\LORIS\LorisInstance $loris, int $physiologicalFileID) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's easier to use PHP constructor property promotion if all you're doing is setting it directly:
This PR adds more robust HED tag support. Closes #8910.
Depends on #9032 (should be merged before reviewing)
Loris-MRI counterpart: #1041
It adds SQL tables to store HED schemas as hierarchical nodes and to store the assembled HED strings as node references using a modified linked list data structure, allowing for complex groupings.
Instance-level tags which were ingested in the
HED
column ofevents.tsv
files can be viewed in theEventManager
component and can be edited in a limited (see below) way in theAnnotationForm
component.There is a new component called
DatasetTagger
which is accessible via the "Dataset Tag Manager" button at the bottom left corner of the browser. This component enables the modification of HED tags at the dataset-wide level (events.json
). This will associate HED tags to Event attributes for all events in the dataset containing the respective attributes. This component enables virtually unlimited groupings of HED tags, as well their addition and removal.Limitations:
events.json
or manually via the Dataset Tag Manager.TODO: Raisinbread modifications + HED tag insertsMAKE SURE YOU ADD BOTH SCHEMAS WITH THE TOOL FIRST (or use RB): HED8.2.0.xml HED_score_1.1.0.xml