Skip to content

Commit

Permalink
format check
Browse files Browse the repository at this point in the history
  • Loading branch information
harshangrjn committed Mar 20, 2023
1 parent 676d94e commit 1c8c643
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/data.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@ Given the input params, this function preprocesses the data, catches any error a
and outputs a detailed dictionary which forms the basis for building an optimization model.
"""
function get_data(params::Dict{String,Any})
_header_color = :cyan
printstyled("LaplacianOpt version: ", Pkg.TOML.parse(read(string(pkgdir(LOpt), "/Project.toml"), String))["version"], "\n"; color = _header_color, bold = true)
_header_color = :cyan
printstyled(
"LaplacianOpt version: ",
Pkg.TOML.parse(read(string(pkgdir(LOpt), "/Project.toml"), String))["version"],
"\n";
color = _header_color,
bold = true,
)

if "data_dict" in keys(params)
data_dict = params["data_dict"]
Expand Down

0 comments on commit 1c8c643

Please sign in to comment.