BIDSError¶
Bases: Exception
Base class for all BIDS-related exceptions.
This class serves as the base exception class for all exceptions related to BIDS (Brain Imaging Data Structure) specifications and operations.
Source code in psychopy_bids/bids/bidstaskevent.py
OnsetError¶
Bases: BIDSError
Exception raised when onset value is incorrect.
This exception is raised when the provided onset value does not meet the expected criteria for correctness according to BIDS (Brain Imaging Data Structure) specifications.
Source code in psychopy_bids/bids/bidstaskevent.py
__init__(onset, msg="Property 'onset' MUST be a number")
¶
Initialize the OnsetError instance.
Parameters¶
onset : object The onset value that caused the error. msg : str, optional Explanation of the error.
Source code in psychopy_bids/bids/bidstaskevent.py
DurationError¶
Bases: BIDSError
Exception raised when duration value is incorrect.
This exception is raised when the provided duration value does not meet the expected criteria for correctness according to BIDS (Brain Imaging Data Structure) specifications.
Source code in psychopy_bids/bids/bidstaskevent.py
__init__(duration, msg="Property 'duration' MUST be either zero or positive (or n/a if unavailable)")
¶
Initialize the DurationError instance.
Parameters¶
duration : object The duration value that caused the error. msg : str, optional Explanation of the error.
Source code in psychopy_bids/bids/bidstaskevent.py
TrialTypeError¶
Bases: BIDSError
Exception raised when trial_type value is incorrect.
This exception is raised when the provided trial_type value does not meet the expected criteria for correctness according to BIDS (Brain Imaging Data Structure) specifications.
Source code in psychopy_bids/bids/bidstaskevent.py
__init__(trial_type, msg="Property 'trial_type' MUST be a string")
¶
Initialize the TrialTypeError instance.
Parameters¶
trial_type : object The trial_type value that caused the error. msg : str, optional Explanation of the error.
Source code in psychopy_bids/bids/bidstaskevent.py
SampleError¶
Bases: BIDSError
Exception raised when sample value is incorrect.
This exception is raised when the provided sample value does not meet the expected criteria for correctness according to BIDS (Brain Imaging Data Structure) specifications.
Source code in psychopy_bids/bids/bidstaskevent.py
__init__(sample, msg="Property 'sample' MUST be an integer")
¶
Initialize the SampleError instance.
Parameters¶
sample : object The sample value that caused the error. msg : str, optional Explanation of the error.
Source code in psychopy_bids/bids/bidstaskevent.py
ResponseTimeError¶
Bases: BIDSError
Exception raised when response_time value is incorrect.
This exception is raised when the provided response_time value does not meet the expected criteria for correctness according to BIDS (Brain Imaging Data Structure) specifications.
Source code in psychopy_bids/bids/bidstaskevent.py
__init__(response_time, msg="Property 'response_time' MUST be a number (or n/a if unavailable)")
¶
Initialize the ResponseTimeError instance.
Parameters¶
response_time : object The response_time value that caused the error. msg : str, optional Explanation of the error.
Source code in psychopy_bids/bids/bidstaskevent.py
HedError¶
Bases: BIDSError
Exception raised when hed value is incorrect.
This exception is raised when the provided hed value does not meet the expected criteria for correctness according to BIDS (Brain Imaging Data Structure) specifications.
Source code in psychopy_bids/bids/bidstaskevent.py
__init__(hed, msg="Property 'hed' MUST be a string")
¶
Initialize the HEDError instance.
Parameters¶
hed : object The hed value that caused the error. msg : str, optional Explanation of the error.
Source code in psychopy_bids/bids/bidstaskevent.py
StimFileError¶
Bases: BIDSError
Exception raised when stim_file value is incorrect.
This exception is raised when the provided stim_file value does not meet the expected criteria for correctness according to BIDS (Brain Imaging Data Structure) specifications.
Source code in psychopy_bids/bids/bidstaskevent.py
__init__(stim_file, msg="Property 'stim_file' MUST be a string")
¶
Initialize the StimFileError instance.
Parameters¶
stim_file : object The stim_file value that caused the error. msg : str, optional Explanation of the error.
Source code in psychopy_bids/bids/bidstaskevent.py
IdentifierError¶
Bases: BIDSError
Exception raised when identifier value is incorrect.
This exception is raised when the provided identifier value does not meet the expected criteria for correctness according to BIDS (Brain Imaging Data Structure) specifications.
Source code in psychopy_bids/bids/bidstaskevent.py
__init__(identifier, msg="Property 'identifier' MUST be a string")
¶
Initialize the IdentifierError instance.
Parameters¶
identifier : object The identifier value that caused the error. msg : str, optional Explanation of the error.
Source code in psychopy_bids/bids/bidstaskevent.py
DatabaseError¶
Bases: BIDSError
Exception raised when database value is incorrect.
This exception is raised when the provided database value does not meet the expected criteria for correctness according to BIDS (Brain Imaging Data Structure) specifications.
Source code in psychopy_bids/bids/bidstaskevent.py
__init__(database, msg="Property 'database' MUST be a string")
¶
Initialize the DatabaseError instance.
Parameters¶
database : object The database value that caused the error. msg : str, optional Explanation of the error.