import subprocess

__author__ = "<NAME>"
__license__ = "MIT"

"""
Tests that training/testing scripts run correctly on a small subset   of data.
"""

print("starting test")

test_script_dir = "scripts/brains/test_scripts/"
try:
    subprocess.call(test_script_dir + "preterm_classification_test.sh")
    print("Preterm classification training test passed.")
except:
    print("Preterm classification training test failed.")


import subprocess

__author__ = "<NAME>"
__license__ = "MIT"

"""
Tests that training/testing scripts run correctly on a small subset   of data.
"""

print("starting test")

test_script_dir = "scripts/brains/test_scripts/"
try:
    subprocess.call(test_script_dir + "preterm_classification_test.sh")
    print("Preterm classification training test passed.")
except:
    print("Preterm classification training test failed.")


Tests that training/testing scripts run correctly on a small subset   of data.