Repository navigation
Accept MATLAB struct, cell, and scalar inputs - #654
Conversation
EEGPrep functions used by the EEGLAB-ported tests now take structured arrays, cells, empty arrays, and whole-number doubles used as counts or 1-based indices. Strict (#430) markers stay only where the test still fails. Co-authored-by: Suraj Ranganath <[email protected]>
There was a problem hiding this comment.
If your organization's extra usage balance is empty, an organization admin can add extra usage credits at claude.ai/admin-settings/usage. If its monthly spend limit was reached, an admin can raise it on the same page. If neither applies, contact Anthropic support.
Once extra usage is available, someone with write access to this repository can comment @claude review on this pull request to trigger a review.
|
🤖 Problem: MATLAB structs, cells, empty arrays, and 1-by-1 doubles reach EEGPrep as NumPy structured arrays, object arrays, and floats, and the functions raise before they compute. Approach: Tests: Python backend lane on this branch, 470 passed, 166 xfailed, 0 xpassed. Default suite with MATLAB skipped, 3247 passed, 0 failed. The MATLAB reference suite was not run. |
|
Claude finished @suraj-ranganath's task in 2m 19s —— View job Code review
BlockingNone. As the PR body says, the MATLAB reference suite still has to be run before merge, because core functions changed. Important
Nits
Test gaps
EEGLAB parity notes
|
| if isinstance(value, (list, tuple)): | ||
| return list(value) | ||
| return list(value) |
There was a problem hiding this comment.
Nit: the list/tuple branch returns the same thing as the fallthrough, so it can go.
| if isinstance(value, (list, tuple)): | |
| return list(value) | |
| return list(value) | |
| return list(value) |
| EEG = _datasets_or_one(EEG) | ||
|
|
There was a problem hiding this comment.
Important (correctness): storeSetIndex doesn't go through the new adapter, so a MATLAB-shaped index is dropped without any error and the dataset lands in the wrong slot.
- Single dataset (L64):
isinstance(storeSetIndex, int)is false for3.0,np.int64(3)andnp.array([[3.0]]). All three fall back to_normalize_index(None, ...), soeeg_store([], EEG, 3.0)stores at slot 1 and returns1. MATLAB stores at slot 3. - Struct EEG (L52):
_datasets_or_oneturns a 1×1 struct array into a one-item list. The list branch then replaces any non-list index with[None], soeeg_store(ALLEEG, EEG_struct_1x1, 3)also ignores the 3. This is new in this PR: that input used to fail loudly ineeg_checkset, and now it is quietly misplaced.
The PR says whole-number doubles are accepted as 1-based indices. eeg_retrieve already handles this with _normalize_requested_index, but eeg_store doesn't.
Suggested fix: normalize storeSetIndex once here with matlab_ints/scalar_index, the same way eeg_retrieve does. Use a scalar when there is one index and a list otherwise. Pair a length-1 index list with a 1-dataset struct array (or unwrap the 1×1 struct to a dict). Check isinstance(storeSetIndex, (list, tuple)) only after that normalization. Add eeg_store([], EEG, 3.0) → index == 3, len(ALLEEG) == 3 to tests/test_eeg_store.py.
eeg_store treated 3.0, a 1-by-1 index array, and a 1-by-1 struct dataset as "no index" and wrote the dataset into the first empty slot. Co-authored-by: Suraj Ranganath <[email protected]>
Keep both changelog bullets. Drop the STUDY load xfails that #653 made pass, and keep the three design-cell failures from that branch. Co-authored-by: Suraj Ranganath <[email protected]>
Keep the adapter changelog bullet together with the ASR fit-width and pop_loadstudy bullets. The clean_channels and ASR changes come from develop. Co-authored-by: Suraj Ranganath <[email protected]>
Accept MATLAB structs, cells, empty arrays, and whole-number doubles at the Python function boundary.
matlab_inputsis the shared adapter.getkeyval,blockave,shortread,floatread,vararg2str,readlocs,runica,epoch,pop_epoch,pop_select,pop_copyset,pop_saveh,pop_chancoresp,pop_editeventvals,pop_selectevent,eeg_store,eeg_retrieve,eeg_decodechan,eeg_getepochevent,eegh,finputcheck,forcelocs,unique_cell_string,eeg_checkset, andclean_artifactscall it. Results stay Python scalars, lists, and dicts.pop_selectindices stay 0-based.finputcheckstill returns Python numbers.unique_cell_stringreturns a list for a Python sequence and a 1-by-N cell for a cell.rmartis unchanged. Tolerances, recorded expectations, and parity JSON are unchanged.Part of #430.
Counts are strict
(#430)markers, parents plus subtests. XPASS is 0 in every cluster before and after. Before is the marker table on develop82897701. After is the same table on this branch, confirmed by the Python backend lane (parity and not slow and not gui): 470 passed, 110 skipped, 3531 deselected, 166 xfailed, 0 failed. The default suite withEEGPREP_SKIP_MATLAB=1, and the long pAMICA report deselected, was 3247 passed, 153 skipped, 865 deselected, 0 failed. Those deselected tests are the parity lane, which runs only with--eeglab-backend. MATLAB is not installed here, so the MATLAB reference suite was not run. Core functions changed, and that suite is still required before merge.28 markers were removed because those tests pass. The other movement is reclassification: once the call accepts the MATLAB input, the remaining failure is a Python list or scalar against a MATLAB row, cell, or struct array, or a missing extra output.
eeg_retrievegeneral moved from numeric/index to output transport for that reason. The two mmo preprocessing tests were failing on the epoch cell and empty-array inputs; they now pass, including the memmap comparison.Baseline inventory on develop
82897701(194):input adapters (81)
tests/test_binary_eeglab_tests.py::test_upstream_chancoresp_cleartests/test_binary_eeglab_tests.py::test_upstream_chancoresp_explicit_pairstests/test_binary_eeglab_tests.py::test_upstream_chancoresp_fiducialstests/test_binary_eeglab_tests.py::test_upstream_chancoresp_invalid_fiducialstests/test_binary_eeglab_tests.py::test_upstream_chancoresp_labelstests/test_binary_eeglab_tests.py::test_upstream_chancoresp_nonetests/test_binary_eeglab_tests.py::test_upstream_chancoresp_pairtests/test_binary_eeglab_tests.py::test_upstream_chancoresp_unpairtests/test_core_event_eeglab_tests.py::test_reference_chaninds_uses_original_epoched_recordingtests/test_core_event_eeglab_tests.py::test_reference_eventtypes_preserves_inverted_source_conditiontests/test_core_event_eeglab_tests.py::test_reference_getchanlist_no_matchtests/test_core_event_eeglab_tests.py::test_reference_getepochevent_default_latencytests/test_core_event_eeglab_tests.py::test_reference_getepochevent_default_time_windowtests/test_core_event_eeglab_tests.py::test_reference_getepochevent_duration_old_and_new_callstests/test_core_event_eeglab_tests.py::test_reference_getepochevent_four_argument_windowtests/test_core_event_eeglab_tests.py::test_reference_getepochevent_without_epoch_fieldtests/test_core_event_eeglab_tests.py::test_reference_insertbound_original_epoched_eventstests/test_core_event_eeglab_tests.py::test_reference_matchchans_original_complete_locationstests/test_core_event_eeglab_tests.py::test_reference_mergechan_uses_original_montagestests/test_core_event_eeglab_tests.py::test_reference_mergelocs_uses_original_montagestests/test_core_event_eeglab_tests.py::test_reference_urlatency_boundary_durationstests/test_eeg_decodechan.py::test_reference_decodechan_original_channel_namestests/test_eeg_interp.py::test_reference_interp_original_methods_and_shuffled_montagetests/test_eeg_options.py::test_reference_eeg_readoptions_backuptests/test_eeg_retrieve.py::test_reference_eeg_retrieve_original_multiple_casetests/test_eeg_store.py::test_reference_eeg_store_original_general_casetests/test_eeg_store.py::test_reference_eeg_store_original_multiple_casetests/test_eeg_store.py::test_reference_eeg_store_original_multiple_new_casetests/test_eeg_store.py::test_reference_eeg_store_original_new_casetests/test_eegh.py::test_reference_eegh_add_multiple_historytests/test_eegh.py::test_reference_eegh_add_multiple_history_default_emptytests/test_finputcheck.py::test_reference_finputcheck_original_regression_fixturetests/test_gethelpvar.py::test_reference_gethelpvar_no_vartests/test_gethelpvar.py::test_reference_gethelpvar_sometests/test_legacy_signal_io_eeglab_tests.py::test_upstream_readneurodat_original_filetests/test_misc_data_event_eeglab_tests.py::test_reference_biosig_all_fieldstests/test_misc_data_event_eeglab_tests.py::test_reference_biosig_partial_fieldstests/test_misc_data_event_eeglab_tests.py::test_reference_unique_cell_string_original_mixed_cellstests/test_phase1b_file_edit_pop_functions.py::test_reference_selectevent_dataset_arraytests/test_phase1b_file_edit_pop_functions.py::test_reference_selectevent_delete_unselected_eventstests/test_phase1b_file_edit_pop_functions.py::test_reference_selectevent_empty_selection_allowedtests/test_phase1b_file_edit_pop_functions.py::test_reference_selectevent_empty_selection_errortests/test_phase1b_file_edit_pop_functions.py::test_reference_selectevent_explicit_error_nonempty_selectiontests/test_phase1b_file_edit_pop_functions.py::test_reference_selectevent_inverse_epochstests/test_phase1b_file_edit_pop_functions.py::test_reference_selectevent_keep_epochs_delete_eventstests/test_phase1b_file_edit_pop_functions.py::test_reference_selectevent_retains_matching_epochstests/test_phase2_file_channel_location.py::test_reference_convertlocs_cart2alltests/test_phase2_file_channel_location.py::test_reference_pop_chancenter_nine_recorded_location_callstests/test_phase2_file_channel_location.py::test_reference_readeetraklocs_original_filetests/test_phase2_file_channel_location.py::test_reference_readegilocs_all_original_channel_countstests/test_pop_interp.py::test_reference_pop_interp_original_locations_and_recordingtests/test_pop_reref.py::test_reference_pop_reref_original_bugzilla_270_inputtests/test_pop_reref.py::test_reference_rereftests/test_pop_resample_python.py::test_reference_pop_resample_original_half_sample_boundary_workflowtests/test_popfunc_dataset_eeglab_tests.py::test_reference_chanedit_original_locationstests/test_popfunc_dataset_eeglab_tests.py::test_reference_importevent_original_named_workspace_variablestests/test_popfunc_dataset_eeglab_tests.py::test_reference_mergeset_all_eight_recorded_data_callstests/test_popfunc_dataset_eeglab_tests.py::test_reference_newset_original_eight_datasets_and_saved_filestests/test_popfunc_dataset_eeglab_tests.py::test_reference_selectevent_original_overlapping_epoch_workflowtests/test_sigprocfunc_numerical_eeglab_tests.py::test_reference_mattocelltests/test_binary_eeglab_tests.py::test_upstream_chancoresp_original_39_callstests/test_clean_rawdata_eeglab_tests.py::test_reference_clean_rawdata_filteringtests/test_clean_rawdata_eeglab_tests.py::test_reference_clean_rawdata_final_rejectiontests/test_eegh.py::test_reference_eegh_empty_commandtests/test_misc_data_event_eeglab_tests.py::test_reference_shortread_original_two_million_samplestests/test_phase1b_file_edit_pop_functions.py::test_reference_copyset_recorded_dataset_callstests/test_phase2_file_channel_location.py::test_reference_floatread_offsettests/test_phase2_file_channel_location.py::test_reference_readlocs_bugzilla_339tests/test_sample_data_pop_functions.py::test_reference_saveh_original_global_and_recording_historytests/test_sample_data_pop_functions.py::test_reference_select_original_time_trials_and_channeltests/test_vararg2str.py::test_reference_vararg2str_all_eight_original_callstests/test_finputcheck.py::test_reference_finputcheck_original_wrapper_casestests/test_getkeyval.py::test_reference_getkeyval_original_string_casestests/test_pop_epoch.py::test_reference_pop_epoch_original_square_event_workflowtests/test_legacy_signal_io_eeglab_tests.py::test_reference_blockavetests/test_getkeyval.py::test_reference_getkeyval_original_evaluated_matrixtests/test_pop_editeventvals_current.py::test_reference_editeventvals_original_recordingtests/test_runica.py::test_reference_runica_pcatests/test_epoch.py::test_reference_epoch_original_five_output_contracts(case='no_srate')tests/test_sigprocfunc_plotting_eeglab_tests.py::test_reference_forcelocs_complete_original_coordinates(source='x')tests/test_sigprocfunc_plotting_eeglab_tests.py::test_reference_forcelocs_complete_original_coordinates(source='y')output transport (68)
tests/test_bdf_records_eeglab_tests.py::test_upstream_readbdf_original_record_selectiontests/test_cart2topo.py::test_reference_cart2topo_original_coordinate_matricestests/test_core_event_eeglab_tests.py::test_reference_getchanlist_case_insensitive_typetests/test_core_event_eeglab_tests.py::test_reference_getchanlist_default_all_channelstests/test_core_event_eeglab_tests.py::test_reference_getchanlist_multiple_types_and_missing_typetests/test_core_event_eeglab_tests.py::test_reference_urlatency_missing_durationtests/test_eeg_ms2f.py::test_reference_eeg_ms2f_original_dataset_and_latenciestests/test_getkeyval.py::test_reference_getkeyval_original_presence_casestests/test_legacy_signal_io_eeglab_tests.py::test_reference_movavtests/test_legacy_signal_io_eeglab_tests.py::test_reference_parsetxttests/test_legacy_signal_io_eeglab_tests.py::test_upstream_loadtxt_forcetests/test_miscfunc_numerical_eeglab_tests.py::test_reference_covarytests/test_miscfunc_numerical_eeglab_tests.py::test_reference_datlimtests/test_miscfunc_numerical_eeglab_tests.py::test_reference_hungariantests/test_miscfunc_numerical_eeglab_tests.py::test_reference_nan_stdtests/test_miscfunc_numerical_eeglab_tests.py::test_reference_pcsquashtests/test_miscfunc_numerical_eeglab_tests.py::test_reference_perminvtests/test_miscfunc_numerical_eeglab_tests.py::test_reference_uniqueftests/test_numdim.py::test_reference_numdimtests/test_phase2_file_channel_location.py::test_reference_chancenter_2dtests/test_phase2_file_channel_location.py::test_reference_chancenter_all_negativetests/test_phase2_file_channel_location.py::test_reference_chancenter_optimizetests/test_phase2_file_channel_location.py::test_reference_chancenter_scalartests/test_phase2_file_channel_location.py::test_reference_chancenter_zero_radiustests/test_phase4_timefreq_statistics.py::test_reference_angtimewarptests/test_phase7_long_tail_helpers.py::test_reference_eegthreshtests/test_phase7_long_tail_helpers.py::test_reference_eegthresh_all_rejectedtests/test_phase7_long_tail_helpers.py::test_reference_eegthresh_none_rejectedtests/test_phase7_long_tail_helpers.py::test_reference_eegthresh_one_electrodetests/test_phase7_long_tail_helpers.py::test_reference_entropy_rej_vectorstests/test_phase7_long_tail_helpers.py::test_reference_kurttests/test_phase7_long_tail_helpers.py::test_reference_realprobatests/test_rejection_workflows.py::test_reference_rejsuperpose_alltests/test_rejection_workflows.py::test_reference_rejsuperpose_all_icatests/test_rejection_workflows.py::test_reference_rejsuperpose_emptytests/test_rejection_workflows.py::test_reference_rejsuperpose_generaltests/test_rejection_workflows.py::test_reference_rejsuperpose_zerotests/test_sigproc_eegrej.py::test_reference_eegrej_explicit_and_omitted_eventstests/test_sigproc_eegrej.py::test_reference_eegrej_overlapping_regionstests/test_sigprocfunc_ica_legacy_eeglab_tests.py::test_reference_kmeansclustertests/test_sigprocfunc_numerical_eeglab_tests.py::test_reference_matseltests/test_sigprocfunc_numerical_eeglab_tests.py::test_reference_nan_meantests/test_sigprocfunc_numerical_eeglab_tests.py::test_reference_quantiletests/test_statistics_package.py::test_reference_concatdata_original_arraystests/test_bdf_records_eeglab_tests.py::test_upstream_openbdf_original_channel_typestests/test_bdf_records_eeglab_tests.py::test_upstream_openbdf_original_general_headertests/test_bdf_records_eeglab_tests.py::test_upstream_openbdf_original_invalid_digital_limitstests/test_bdf_records_eeglab_tests.py::test_upstream_openbdf_original_invalid_physical_limitstests/test_bdf_records_eeglab_tests.py::test_upstream_openbdf_original_reversed_digital_limitstests/test_bdf_records_eeglab_tests.py::test_upstream_openbdf_original_reversed_physical_limitstests/test_miscfunc_decomposition_eeglab_tests.py::test_reference_varsorttests/test_miscfunc_decomposition_eeglab_tests.py::test_reference_zicatests/test_phase2_file_channel_location.py::test_reference_pop_chancenter_empty_centertests/test_phase2_file_channel_location.py::test_reference_pop_chancenter_no_omitchanstests/test_phase2_file_channel_location.py::test_reference_pop_chancenter_with_omitchanstests/test_phase2_file_channel_location.py::test_reference_readelp_five_outputstests/test_pop_comments.py::test_reference_comments_concatenationtests/test_pop_comments.py::test_reference_comments_replacementtests/test_pop_rmbase.py::test_reference_pop_rmbase_original_baselines_and_complete_commandstests/test_pop_rmbase.py::test_reference_rmbasetests/test_rejection_workflows.py::test_reference_pop_rejchantests/test_rejection_workflows.py::test_reference_pop_rejtrendtests/test_popfunc_dataset_eeglab_tests.py::test_reference_importevent_original_text_filetests/test_eegplot.py::test_reference_eegplot2trial_original_marks(source='general')tests/test_eegplot.py::test_reference_eegplot2trial_original_marks(source='multiple')tests/test_eegplot.py::test_reference_eegplot2trial_original_marks(source='multiple_color')tests/test_eegplot.py::test_reference_eegplot2trial_original_marks(source='multiple_colorin')tests/test_eegplot.py::test_reference_eegplot2trial_original_marks(source='multiple_colorout')API contracts (23)
tests/test_phase1b_file_edit_pop_functions.py::test_reference_copyset_original_set_outtests/test_pop_delset.py::test_reference_delset_original_datasetstests/test_pop_editeventfield_current.py::test_reference_add_field_filetests/test_pop_editeventfield_current.py::test_reference_add_field_file_indicestests/test_pop_editeventfield_current.py::test_reference_add_field_vectortests/test_pop_editeventfield_current.py::test_reference_delimiterstests/test_pop_editeventfield_current.py::test_reference_delold_invalidtests/test_pop_editeventfield_current.py::test_reference_delold_yestests/test_pop_editeventfield_current.py::test_reference_description_missing_fieldtests/test_pop_editeventfield_current.py::test_reference_field_descriptiontests/test_pop_editeventfield_current.py::test_reference_invalid_renametests/test_pop_editeventfield_current.py::test_reference_latency_timeunittests/test_pop_editeventfield_current.py::test_reference_modify_fieldtests/test_pop_editeventfield_current.py::test_reference_modify_field_indicestests/test_pop_editeventfield_current.py::test_reference_remove_missing_fieldtests/test_pop_editeventfield_current.py::test_reference_rename_fieldtests/test_pop_editeventfield_current.py::test_reference_rename_missing_fieldtests/test_pop_editeventfield_current.py::test_reference_skip_linestests/test_sample_data_pop_functions.py::test_reference_expica_original_recording_and_ascii_outputstests/test_epoch.py::test_reference_epoch_original_five_output_contracts(case='general')tests/test_epoch.py::test_reference_epoch_original_five_output_contracts(case='boundary')tests/test_epoch.py::test_reference_epoch_original_five_output_contracts(case='valuelim')tests/test_epoch.py::test_reference_epoch_original_five_output_contracts(case='allevents')mmo/MemmapData (2)
tests/test_mmo_eeglab_tests.py::test_upstream_mmo_original_preprocessing[continuous_epoch]tests/test_mmo_eeglab_tests.py::test_upstream_mmo_original_preprocessing[continuous_epoch_after_rejection]STUDY load and missing names (9)
tests/test_study_params_eeglab_tests.py::test_reference_pop_dipparams[eeglab_sample_study0]tests/test_study_params_eeglab_tests.py::test_reference_pop_erpimparams[eeglab_sample_study0]tests/test_study_params_eeglab_tests.py::test_reference_pop_erpparams[eeglab_sample_study0]tests/test_study_params_eeglab_tests.py::test_reference_pop_erspparams[eeglab_sample_study0]tests/test_study_params_eeglab_tests.py::test_reference_pop_specparams[eeglab_sample_study0]tests/test_study_params_eeglab_tests.py::test_reference_pop_statparams[eeglab_sample_study0]tests/test_study_workflows_eeglab_tests.py::test_reference_pop_clust[eeglab_sample_study0]tests/test_study_workflows_eeglab_tests.py::test_reference_std_makedesign[eeglab_sample_study0]tests/test_study_workflows_eeglab_tests.py::test_reference_std_selectdesign[eeglab_sample_study0]numeric/index (11)
tests/test_eeg_lat2point.py::test_eeg_lat2point_current_suite_cell_epoch_casetests/test_eeg_lat2point.py::test_eeg_lat2point_current_suite_cell_latency_casetests/test_eeg_lat2point.py::test_eeg_lat2point_current_suite_clamps_out_of_range_latencytests/test_eeg_lat2point.py::test_eeg_lat2point_current_suite_default_time_unittests/test_eeg_lat2point.py::test_eeg_lat2point_current_suite_general_casetests/test_eeg_lat2point.py::test_eeg_lat2point_current_suite_single_epoch_broadcasttests/test_eeg_retrieve.py::test_reference_eeg_retrieve_original_general_casetests/test_misc_data_event_eeglab_tests.py::test_reference_rmarttests/test_miscfunc_numerical_eeglab_tests.py::test_reference_gausstests/test_pop_adjustevents.py::test_reference_adjustevents_continuoustests/test_pop_adjustevents.py::test_reference_adjustevents_epochedRemaining
(#430)markers on this branch (166):input adapters (20)
tests/test_eeg_interp.py::test_reference_interp_original_methods_and_shuffled_montagetests/test_eeg_options.py::test_reference_eeg_readoptions_backuptests/test_eegh.py::test_reference_eegh_add_multiple_historytests/test_eegh.py::test_reference_eegh_add_multiple_history_default_emptytests/test_finputcheck.py::test_reference_finputcheck_original_regression_fixturetests/test_gethelpvar.py::test_reference_gethelpvar_no_vartests/test_gethelpvar.py::test_reference_gethelpvar_sometests/test_legacy_signal_io_eeglab_tests.py::test_upstream_readneurodat_original_filetests/test_misc_data_event_eeglab_tests.py::test_reference_biosig_all_fieldstests/test_misc_data_event_eeglab_tests.py::test_reference_biosig_partial_fieldstests/test_phase2_file_channel_location.py::test_reference_pop_chancenter_nine_recorded_location_callstests/test_pop_interp.py::test_reference_pop_interp_original_locations_and_recordingtests/test_pop_reref.py::test_reference_pop_reref_original_bugzilla_270_inputtests/test_pop_reref.py::test_reference_rereftests/test_pop_resample_python.py::test_reference_pop_resample_original_half_sample_boundary_workflowtests/test_popfunc_dataset_eeglab_tests.py::test_reference_chanedit_original_locationstests/test_popfunc_dataset_eeglab_tests.py::test_reference_importevent_original_named_workspace_variablestests/test_popfunc_dataset_eeglab_tests.py::test_reference_mergeset_all_eight_recorded_data_callstests/test_popfunc_dataset_eeglab_tests.py::test_reference_selectevent_original_overlapping_epoch_workflowtests/test_epoch.py::test_reference_epoch_original_five_output_contracts(case='no_srate')output transport (104)
tests/test_binary_eeglab_tests.py::test_upstream_chancoresp_cleartests/test_binary_eeglab_tests.py::test_upstream_chancoresp_explicit_pairstests/test_binary_eeglab_tests.py::test_upstream_chancoresp_fiducialstests/test_binary_eeglab_tests.py::test_upstream_chancoresp_invalid_fiducialstests/test_binary_eeglab_tests.py::test_upstream_chancoresp_labelstests/test_binary_eeglab_tests.py::test_upstream_chancoresp_nonetests/test_binary_eeglab_tests.py::test_upstream_chancoresp_pairtests/test_binary_eeglab_tests.py::test_upstream_chancoresp_unpairtests/test_core_event_eeglab_tests.py::test_reference_getchanlist_no_matchtests/test_core_event_eeglab_tests.py::test_reference_getepochevent_default_latencytests/test_core_event_eeglab_tests.py::test_reference_getepochevent_default_time_windowtests/test_core_event_eeglab_tests.py::test_reference_getepochevent_duration_old_and_new_callstests/test_core_event_eeglab_tests.py::test_reference_getepochevent_four_argument_windowtests/test_core_event_eeglab_tests.py::test_reference_getepochevent_without_epoch_fieldtests/test_core_event_eeglab_tests.py::test_reference_matchchans_original_complete_locationstests/test_core_event_eeglab_tests.py::test_reference_mergechan_uses_original_montagestests/test_core_event_eeglab_tests.py::test_reference_mergelocs_uses_original_montagestests/test_core_event_eeglab_tests.py::test_reference_urlatency_boundary_durationstests/test_eeg_retrieve.py::test_reference_eeg_retrieve_original_multiple_casetests/test_eeg_store.py::test_reference_eeg_store_original_general_casetests/test_eeg_store.py::test_reference_eeg_store_original_multiple_casetests/test_eeg_store.py::test_reference_eeg_store_original_multiple_new_casetests/test_eeg_store.py::test_reference_eeg_store_original_new_casetests/test_phase1b_file_edit_pop_functions.py::test_reference_selectevent_dataset_arraytests/test_phase1b_file_edit_pop_functions.py::test_reference_selectevent_delete_unselected_eventstests/test_phase1b_file_edit_pop_functions.py::test_reference_selectevent_inverse_epochstests/test_phase1b_file_edit_pop_functions.py::test_reference_selectevent_retains_matching_epochstests/test_phase2_file_channel_location.py::test_reference_convertlocs_cart2alltests/test_phase2_file_channel_location.py::test_reference_readeetraklocs_original_filetests/test_phase2_file_channel_location.py::test_reference_readegilocs_all_original_channel_countstests/test_popfunc_dataset_eeglab_tests.py::test_reference_newset_original_eight_datasets_and_saved_filestests/test_sigprocfunc_numerical_eeglab_tests.py::test_reference_mattocelltests/test_bdf_records_eeglab_tests.py::test_upstream_readbdf_original_record_selectiontests/test_cart2topo.py::test_reference_cart2topo_original_coordinate_matricestests/test_core_event_eeglab_tests.py::test_reference_getchanlist_case_insensitive_typetests/test_core_event_eeglab_tests.py::test_reference_getchanlist_default_all_channelstests/test_core_event_eeglab_tests.py::test_reference_getchanlist_multiple_types_and_missing_typetests/test_core_event_eeglab_tests.py::test_reference_urlatency_missing_durationtests/test_eeg_ms2f.py::test_reference_eeg_ms2f_original_dataset_and_latenciestests/test_getkeyval.py::test_reference_getkeyval_original_presence_casestests/test_legacy_signal_io_eeglab_tests.py::test_reference_movavtests/test_legacy_signal_io_eeglab_tests.py::test_reference_parsetxttests/test_legacy_signal_io_eeglab_tests.py::test_upstream_loadtxt_forcetests/test_miscfunc_numerical_eeglab_tests.py::test_reference_covarytests/test_miscfunc_numerical_eeglab_tests.py::test_reference_datlimtests/test_miscfunc_numerical_eeglab_tests.py::test_reference_hungariantests/test_miscfunc_numerical_eeglab_tests.py::test_reference_nan_stdtests/test_miscfunc_numerical_eeglab_tests.py::test_reference_pcsquashtests/test_miscfunc_numerical_eeglab_tests.py::test_reference_perminvtests/test_miscfunc_numerical_eeglab_tests.py::test_reference_uniqueftests/test_numdim.py::test_reference_numdimtests/test_phase2_file_channel_location.py::test_reference_chancenter_2dtests/test_phase2_file_channel_location.py::test_reference_chancenter_all_negativetests/test_phase2_file_channel_location.py::test_reference_chancenter_optimizetests/test_phase2_file_channel_location.py::test_reference_chancenter_scalartests/test_phase2_file_channel_location.py::test_reference_chancenter_zero_radiustests/test_phase4_timefreq_statistics.py::test_reference_angtimewarptests/test_phase7_long_tail_helpers.py::test_reference_eegthreshtests/test_phase7_long_tail_helpers.py::test_reference_eegthresh_all_rejectedtests/test_phase7_long_tail_helpers.py::test_reference_eegthresh_none_rejectedtests/test_phase7_long_tail_helpers.py::test_reference_eegthresh_one_electrodetests/test_phase7_long_tail_helpers.py::test_reference_entropy_rej_vectorstests/test_phase7_long_tail_helpers.py::test_reference_kurttests/test_phase7_long_tail_helpers.py::test_reference_realprobatests/test_rejection_workflows.py::test_reference_rejsuperpose_alltests/test_rejection_workflows.py::test_reference_rejsuperpose_all_icatests/test_rejection_workflows.py::test_reference_rejsuperpose_emptytests/test_rejection_workflows.py::test_reference_rejsuperpose_generaltests/test_rejection_workflows.py::test_reference_rejsuperpose_zerotests/test_sigproc_eegrej.py::test_reference_eegrej_explicit_and_omitted_eventstests/test_sigproc_eegrej.py::test_reference_eegrej_overlapping_regionstests/test_sigprocfunc_ica_legacy_eeglab_tests.py::test_reference_kmeansclustertests/test_sigprocfunc_numerical_eeglab_tests.py::test_reference_matseltests/test_sigprocfunc_numerical_eeglab_tests.py::test_reference_nan_meantests/test_sigprocfunc_numerical_eeglab_tests.py::test_reference_quantiletests/test_statistics_package.py::test_reference_concatdata_original_arraystests/test_eeg_retrieve.py::test_reference_eeg_retrieve_original_general_casetests/test_bdf_records_eeglab_tests.py::test_upstream_openbdf_original_channel_typestests/test_bdf_records_eeglab_tests.py::test_upstream_openbdf_original_general_headertests/test_bdf_records_eeglab_tests.py::test_upstream_openbdf_original_invalid_digital_limitstests/test_bdf_records_eeglab_tests.py::test_upstream_openbdf_original_invalid_physical_limitstests/test_bdf_records_eeglab_tests.py::test_upstream_openbdf_original_reversed_digital_limitstests/test_bdf_records_eeglab_tests.py::test_upstream_openbdf_original_reversed_physical_limitstests/test_miscfunc_decomposition_eeglab_tests.py::test_reference_varsorttests/test_miscfunc_decomposition_eeglab_tests.py::test_reference_zicatests/test_phase2_file_channel_location.py::test_reference_pop_chancenter_empty_centertests/test_phase2_file_channel_location.py::test_reference_pop_chancenter_no_omitchanstests/test_phase2_file_channel_location.py::test_reference_pop_chancenter_with_omitchanstests/test_phase2_file_channel_location.py::test_reference_readelp_five_outputstests/test_pop_comments.py::test_reference_comments_concatenationtests/test_pop_comments.py::test_reference_comments_replacementtests/test_pop_rmbase.py::test_reference_pop_rmbase_original_baselines_and_complete_commandstests/test_pop_rmbase.py::test_reference_rmbasetests/test_rejection_workflows.py::test_reference_pop_rejchantests/test_rejection_workflows.py::test_reference_pop_rejtrendtests/test_popfunc_dataset_eeglab_tests.py::test_reference_importevent_original_text_filetests/test_finputcheck.py::test_reference_finputcheck_original_wrapper_casestests/test_eegplot.py::test_reference_eegplot2trial_original_marks(source='general')tests/test_eegplot.py::test_reference_eegplot2trial_original_marks(source='multiple')tests/test_eegplot.py::test_reference_eegplot2trial_original_marks(source='multiple_color')tests/test_eegplot.py::test_reference_eegplot2trial_original_marks(source='multiple_colorin')tests/test_eegplot.py::test_reference_eegplot2trial_original_marks(source='multiple_colorout')tests/test_sigprocfunc_plotting_eeglab_tests.py::test_reference_forcelocs_complete_original_coordinates(source='x')tests/test_sigprocfunc_plotting_eeglab_tests.py::test_reference_forcelocs_complete_original_coordinates(source='y')API contracts (23)
tests/test_phase1b_file_edit_pop_functions.py::test_reference_copyset_original_set_outtests/test_pop_delset.py::test_reference_delset_original_datasetstests/test_pop_editeventfield_current.py::test_reference_add_field_filetests/test_pop_editeventfield_current.py::test_reference_add_field_file_indicestests/test_pop_editeventfield_current.py::test_reference_add_field_vectortests/test_pop_editeventfield_current.py::test_reference_delimiterstests/test_pop_editeventfield_current.py::test_reference_delold_invalidtests/test_pop_editeventfield_current.py::test_reference_delold_yestests/test_pop_editeventfield_current.py::test_reference_description_missing_fieldtests/test_pop_editeventfield_current.py::test_reference_field_descriptiontests/test_pop_editeventfield_current.py::test_reference_invalid_renametests/test_pop_editeventfield_current.py::test_reference_latency_timeunittests/test_pop_editeventfield_current.py::test_reference_modify_fieldtests/test_pop_editeventfield_current.py::test_reference_modify_field_indicestests/test_pop_editeventfield_current.py::test_reference_remove_missing_fieldtests/test_pop_editeventfield_current.py::test_reference_rename_fieldtests/test_pop_editeventfield_current.py::test_reference_rename_missing_fieldtests/test_pop_editeventfield_current.py::test_reference_skip_linestests/test_sample_data_pop_functions.py::test_reference_expica_original_recording_and_ascii_outputstests/test_epoch.py::test_reference_epoch_original_five_output_contracts(case='general')tests/test_epoch.py::test_reference_epoch_original_five_output_contracts(case='boundary')tests/test_epoch.py::test_reference_epoch_original_five_output_contracts(case='valuelim')tests/test_epoch.py::test_reference_epoch_original_five_output_contracts(case='allevents')mmo/MemmapData (0)
STUDY load and missing names (9)
tests/test_study_params_eeglab_tests.py::test_reference_pop_dipparams[eeglab_sample_study0]tests/test_study_params_eeglab_tests.py::test_reference_pop_erpimparams[eeglab_sample_study0]tests/test_study_params_eeglab_tests.py::test_reference_pop_erpparams[eeglab_sample_study0]tests/test_study_params_eeglab_tests.py::test_reference_pop_erspparams[eeglab_sample_study0]tests/test_study_params_eeglab_tests.py::test_reference_pop_specparams[eeglab_sample_study0]tests/test_study_params_eeglab_tests.py::test_reference_pop_statparams[eeglab_sample_study0]tests/test_study_workflows_eeglab_tests.py::test_reference_pop_clust[eeglab_sample_study0]tests/test_study_workflows_eeglab_tests.py::test_reference_std_makedesign[eeglab_sample_study0]tests/test_study_workflows_eeglab_tests.py::test_reference_std_selectdesign[eeglab_sample_study0]numeric/index (10)
tests/test_eeg_lat2point.py::test_eeg_lat2point_current_suite_cell_epoch_casetests/test_eeg_lat2point.py::test_eeg_lat2point_current_suite_cell_latency_casetests/test_eeg_lat2point.py::test_eeg_lat2point_current_suite_clamps_out_of_range_latencytests/test_eeg_lat2point.py::test_eeg_lat2point_current_suite_default_time_unittests/test_eeg_lat2point.py::test_eeg_lat2point_current_suite_general_casetests/test_eeg_lat2point.py::test_eeg_lat2point_current_suite_single_epoch_broadcasttests/test_misc_data_event_eeglab_tests.py::test_reference_rmarttests/test_miscfunc_numerical_eeglab_tests.py::test_reference_gausstests/test_pop_adjustevents.py::test_reference_adjustevents_continuoustests/test_pop_adjustevents.py::test_reference_adjustevents_epoched