Skip to content

Commit

Permalink
move table bulding to build.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
DANA-Laboratory committed Jan 14, 2017
1 parent f3fa5cf commit 0907a24
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ try
urlbase = coolpropurlbase * "shared_library/Darwin/$OS_ARCH_CoolProp/libCoolProp.dylib";
_download(urlbase, joinpath(destpathbase,"CoolProp.dylib"));
end
import CoolProp: fluids, parameters
fluids();
parameters();
catch err
println("Build error: $err")
end
1 change: 0 additions & 1 deletion test/testFluids.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ maxdiffreduvscriti = 0.0;
maxfluid = "";
uneq = Set();
critphasefail = Set();
fluids();
for fluid in coolpropfluids
id+=1;
pure = get_fluid_param_string(fluid, "pure");
Expand Down
1 change: 0 additions & 1 deletion test/testParameters.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ const parameterswithnumval = union(trivalwithnumval, Set(["P_TRIPLE","pcrit","p_
"P_CRITICAL","T_max","molemass","T_MIN","rhomass_critical","T_critical",
"P_max","RHOMASS_CRITICAL","molar_mass","pmin"]));
counter = 0;
parameters();
longunits = Set();
for p in coolpropparameters
longunit = get_parameter_information_string(p, "long") * " | " * get_parameter_information_string(p, "units");
Expand Down

0 comments on commit 0907a24

Please sign in to comment.