From e86971b67d3f1273832d81e22000590dcec819ee Mon Sep 17 00:00:00 2001 From: Martin Scheidt Date: Fri, 22 Apr 2022 10:51:34 +0200 Subject: [PATCH] renamed Input.jl in Types.jl --- CHANGELOG.md | 2 +- src/TrainRunCalc.jl | 4 ++-- src/{Input.jl => Validate.jl} | 4 ++-- test/testEnums.jl | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) rename src/{Input.jl => Validate.jl} (99%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 02d2eb6..9f17d0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -70,7 +70,7 @@ Add an attribute to DataPoint to record the corresponding driving behavior Refactor some of the mutable structs from types.jl as Dictionaries * Remove the mutable structs Train, Path, PathSection, Settings and MovingSection -* Create Dictionaries for train, path an settings in Input.jl +* Create Dictionaries for train, path an settings in Validate.jl * Create a Dictionary for the whole moving section in Preperation.jl and a function for copying the moving section in OperationModes.jl * Change the type of existing Dictionary keys from String to Symbol diff --git a/src/TrainRunCalc.jl b/src/TrainRunCalc.jl index 6e980e8..e41d5c8 100644 --- a/src/TrainRunCalc.jl +++ b/src/TrainRunCalc.jl @@ -8,14 +8,14 @@ module TrainRunCalc # include modules of TrainRunCalc -include("./Input.jl") +include("./Validate.jl") include("./Characteristics.jl") include("./Behavior.jl") include("./Output.jl") # use modules of TrainRunCalc -using .Input +using .Validate using .Characteristics using .Behavior using .Output diff --git a/src/Input.jl b/src/Validate.jl similarity index 99% rename from src/Input.jl rename to src/Validate.jl index a21e5cb..2c51531 100644 --- a/src/Input.jl +++ b/src/Validate.jl @@ -6,7 +6,7 @@ # __license__ = "ISC" # TODO: 2022-04-07: if EnergySaving should be used. The train type has do be defined and checked -module Input +module Validate export checkAndSetInput! @@ -754,4 +754,4 @@ function informAboutUnusedKeys(allKeys::AbstractVector, usedKeys::Vector{Symbol} end end #function informAboutUnusedKeys -end # module Input +end # module Validate diff --git a/test/testEnums.jl b/test/testEnums.jl index 5303301..9a0875c 100644 --- a/test/testEnums.jl +++ b/test/testEnums.jl @@ -6,7 +6,7 @@ # __license__ = "ISC" include("../src/types.jl") -include("../src/Input.jl") +include("../src/Validate.jl") using .Input using YAML, Test