Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Change dates on copywrites, and remove unused code blocks from reg-testing

Co-authored-by: Derek Slaughter <[email protected]>
  • Loading branch information
andrew-platt and deslaughter authored Aug 19, 2024
1 parent e215dde commit 538295e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 30 deletions.
2 changes: 1 addition & 1 deletion modules/simple-elastodyn/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright 2016 National Renewable Energy Laboratory
# Copyright 2024 National Renewable Energy Laboratory
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion modules/simple-elastodyn/src/SED.f90
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
!!
! ..................................................................................................................................
!! ## LICENSING
!! Copyright (C) 2022 National Renewable Energy Laboratory
!! Copyright (C) 2024 National Renewable Energy Laboratory
!!
!! This file is part of SED.
!!
Expand Down
15 changes: 1 addition & 14 deletions reg_tests/executeAerodiskRegressionCase.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright 2017 National Renewable Energy Laboratory
# Copyright 2024 National Renewable Energy Laboratory
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -88,19 +88,6 @@
if not os.path.isdir(inputsDirectory):
rtl.exitWithError("The test data inputs directory, {}, does not exist. Verify your local repository is up to date.".format(inputsDirectory))

## create the local output directory if it does not already exist
## and initialize it with input files for all test cases
#if not os.path.isdir(testBuildDirectory):
# os.makedirs(testBuildDirectory, exist_ok = True)
# for file in glob.glob(os.path.join(inputsDirectory,"*inp")):
# filename = file.split(os.path.sep)[-1]
# shutil.copy(os.path.join(inputsDirectory,filename), os.path.join(testBuildDirectory,filename))
# for file in glob.glob(os.path.join(inputsDirectory,"*dat")):
# filename = file.split(os.path.sep)[-1]
# shutil.copy(os.path.join(inputsDirectory,filename), os.path.join(testBuildDirectory,filename))
# for file in glob.glob(os.path.join(inputsDirectory,"*csv")):
# filename = file.split(os.path.sep)[-1]
# shutil.copy(os.path.join(inputsDirectory,filename), os.path.join(testBuildDirectory,filename))
rtl.copyTree(inputsDirectory, testBuildDirectory, renameDict={'adsk_driver.outb':'adsk_driver_ref.outb'})

### Run aerodisk on the test case
Expand Down
15 changes: 1 addition & 14 deletions reg_tests/executeSimpleElastodynRegressionCase.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright 2017 National Renewable Energy Laboratory
# Copyright 2024 National Renewable Energy Laboratory
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -88,19 +88,6 @@
if not os.path.isdir(inputsDirectory):
rtl.exitWithError("The test data inputs directory, {}, does not exist. Verify your local repository is up to date.".format(inputsDirectory))

## create the local output directory if it does not already exist
## and initialize it with input files for all test cases
#if not os.path.isdir(testBuildDirectory):
# os.makedirs(testBuildDirectory, exist_ok = True)
# for file in glob.glob(os.path.join(inputsDirectory,"*inp")):
# filename = file.split(os.path.sep)[-1]
# shutil.copy(os.path.join(inputsDirectory,filename), os.path.join(testBuildDirectory,filename))
# for file in glob.glob(os.path.join(inputsDirectory,"*dat")):
# filename = file.split(os.path.sep)[-1]
# shutil.copy(os.path.join(inputsDirectory,filename), os.path.join(testBuildDirectory,filename))
# for file in glob.glob(os.path.join(inputsDirectory,"*csv")):
# filename = file.split(os.path.sep)[-1]
# shutil.copy(os.path.join(inputsDirectory,filename), os.path.join(testBuildDirectory,filename))
rtl.copyTree(inputsDirectory, testBuildDirectory, renameDict={'sed_driver.outb':'sed_driver_ref.outb'})

### Run SED on the test case
Expand Down

0 comments on commit 538295e

Please sign in to comment.