Closed oliviaAB closed 5 years ago
@oliviaAB
Thank you for your help! This should be fixed in the latest release. DataFrame
conversion now works as follows:
result = simulate(...)
DataFrame(result)
Species order is not preserved, but the resulting DataFrame
appears to match the initial abundance. I'll leave this open until I have an explicit test for this.
Partially addressed by 3c07682864b728b044c1f4f42889d1744767fdd5
I noticed a small mistake in the definition of the function
get_dataframe
in the filepartial_history.jl
. The names of the columns of the returned data frame do not correspond to the correct species for the corresponding columns, (this can be seen because the species name and initial abundance don't match). The code for the function could be updated as follow: From line 79 to 81 of thepartial_history.jl
file, instead of:write:
I hope this will help.