AMP-SCZ / eeg-qc-dash

Plotly/Dash based web application for checking quality of EEGs
Apache License 2.0
2 stars 1 forks source link

click_record file is empty #6

Closed tashrifbillah closed 1 year ago

tashrifbillah commented 2 years ago

The above will prevent firing of initial callback. It was observed only once at rc-predict-lochness. If it happens again, insert:

            # for the unlikely case where click_record is empty
            if not old_click:
                old_click=-1

after https://github.com/AMP-SCZ/eeg-qc-dash/blob/b942d4a98925e6bb35fbdcfb6409349522079c8a/app.py#L202

tashrifbillah commented 1 year ago

No longer relevant!