Closed oliviaAB closed 4 years ago
Hi, I started playing with Julia 1.2.0 and BioSimulator, I just wanted to point out the change in syntax required with this newer version of Julia:
In src/output/summary.jl: lines 201, 204, and 208,
df[:col_index] = my_values
has to be replaced by
df[!, :col_index] = my_values
The warning being:
┌ Warning: `setindex!(df::DataFrame, v::AbstractVector, col_ind::ColumnIndex)` is deprecated, use `begin │ df[!, col_ind] = v │ df │ end` instead. │ caller = DataFrames.DataFrame(::BioSimulator.SimulationSummary{Array{BioSimulator.RegularPath{Float64,Int64},1}}) at summary.jl:201, 204, 208 └ @ BioSimulator ~/.julia/packages/BioSimulator/5fAh0/src/output/summary.jl:201, 204, 208
Hope this helps!
Fixed by #27 but be warned that the latest version may break your scripts.
Hi, I started playing with Julia 1.2.0 and BioSimulator, I just wanted to point out the change in syntax required with this newer version of Julia:
In src/output/summary.jl: lines 201, 204, and 208,
has to be replaced by
The warning being:
Hope this helps!