Closed marcinwrobel1986 closed 2 years ago
scripts/test_config/conf.yaml
import sys def run_tests(): imbalance_file = f"/lbaf/output/imbalance.txt" with open(imbalance_file, 'r') as imb_file: imb_level = float(imb_file.read()) if imb_level < 0.000001: print(f"===> TEST PASSED!") else: print(f"===> TEST FAILED!") sys.exit(1) if __name__ == "__main__": run_tests()
imbalance.txt is saved in print_function_statistics in src/IO/lbsStatistics.py line: 201
imbalance.txt
print_function_statistics
src/IO/lbsStatistics.py
Should be resolved by now in #181
Please re-review my PR thanks
What is the problem:
Where is config file for testing:
scripts/test_config/conf.yaml
What test does?
imbalance.txt
is saved inprint_function_statistics
insrc/IO/lbsStatistics.py
line: 201How it was before: