ci.eval.compare: turn warnings into errors
This helps detect my math errors
This commit is contained in:
@@ -3,6 +3,7 @@ import json
|
||||
import numpy as np
|
||||
import os
|
||||
import pandas as pd
|
||||
import warnings
|
||||
|
||||
from pathlib import Path
|
||||
from scipy.stats import ttest_rel
|
||||
@@ -149,6 +150,9 @@ def main():
|
||||
|
||||
options = parser.parse_args()
|
||||
|
||||
# Turn warnings into errors
|
||||
warnings.simplefilter("error")
|
||||
|
||||
before_stats = Path(options.before)
|
||||
after_stats = Path(options.after)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user