Merge tea/parity into P3.7
This commit is contained in:
+1
-1
@@ -188,7 +188,7 @@ def test_tea_from_the_hospital_to_indicators(api, platform, tmp_path):
|
|||||||
assert (css, label) == (theirs["ado_css"], CLASSIFICATION[theirs["ado_clasificacion"]])
|
assert (css, label) == (theirs["ado_css"], CLASSIFICATION[theirs["ado_clasificacion"]])
|
||||||
|
|
||||||
# The EEG analysis: every signal's verdict, level and metrics are the current platform's.
|
# The EEG analysis: every signal's verdict, level and metrics are the current platform's.
|
||||||
wait_for(api, ok(api.post("/models/tea/analyze"))["run_id"], 1800)
|
wait_for(api, ok(api.post("/models/tea/analyze"))["run_id"], 3600) # 62 EEGs, 2 CPUs: ~45 min
|
||||||
with sqlite3.connect(db) as con:
|
with sqlite3.connect(db) as con:
|
||||||
signals = con.execute("select eeg_id, eeg_estudio from eeg where eeg_estudio is not null")
|
signals = con.execute("select eeg_id, eeg_estudio from eeg where eeg_estudio is not null")
|
||||||
hashes = {i: hashlib.sha256(b).hexdigest() for i, b in signals}
|
hashes = {i: hashlib.sha256(b).hexdigest() for i, b in signals}
|
||||||
|
|||||||
Reference in New Issue
Block a user