Skip to content

Commit

Permalink
Rename default_ADL_config_file
Browse files Browse the repository at this point in the history
  • Loading branch information
fhagemann committed Jan 28, 2024
1 parent 59a262b commit b0039fe
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,9 @@ end

ADLChargeDriftModel{T}(args...; kwargs...) where {T <: SSDFloat} = ADLChargeDriftModel(args...; T=T, kwargs...)

const defaultADLfile = joinpath(get_path_to_example_config_files(), "ADLChargeDriftModel/drift_velocity_config.yaml")
function ADLChargeDriftModel(configfilename::AbstractString = defaultADLfile; kwargs...)
ADLChargeDriftModel(parse_config_file(configfilename); kwargs...)
const default_ADL_config_file = joinpath(get_path_to_example_config_files(), "ADLChargeDriftModel/drift_velocity_config.yaml")
function ADLChargeDriftModel(config_filename::AbstractString = default_ADL_config_file; kwargs...)
ADLChargeDriftModel(parse_config_file(config_filename); kwargs...)
end

# Check the syntax of the ADLChargeDriftModel config file before parsing
Expand Down

0 comments on commit b0039fe

Please sign in to comment.