diff -r 327da5d00360 -r 672ebc45685a ldcheck.py --- a/ldcheck.py Mon Jan 22 17:05:10 2018 +0200 +++ b/ldcheck.py Mon Jan 22 17:42:57 2018 +0200 @@ -66,6 +66,8 @@ with open(argv[1], 'r') as file: model_body = read_ldraw(file, config = config) model = Model(body = model_body) + from os.path import basename + model.name = basename(argv[1]) from testsuite import load_tests, check_model, format_report test_suite = load_tests() report = check_model(model, test_suite)