Open asongtoruin opened 9 months ago
Hi Adam, thanks for this. Some comments from me.
@asongtoruin, I opened the VM that was allegedly used in the past for Land Use and found the following environments:
I will send separately the connection file to the VM and the password, I am sure you can use it as I don't think any other consultancy is using it atm.
Hi again.
We've possibly found another issue with the environment file as we've been trying to reproduce outputs. The file specifies a dependency on
caf.toolkit
:https://github.com/Transport-for-the-North/Land-Use/blob/3ff21685837ee7e4579e424a06a4f37964af6a92/environment.yml#L6
Which in turn has a dependency on
pandas>1.4.0
(see here). This version ofpandas
deprecatedDataFrame.append
(see here), which is used in various places in this repo, e.g.:https://github.com/Transport-for-the-North/Land-Use/blob/3ff21685837ee7e4579e424a06a4f37964af6a92/land_use/base_land_use/base_year_population_process.py#L690-L692
There are a few different options, as I see it:
pd.concat
. This would futureproof the code, but also this issue could be widespread (this is just the first time it stopped our process from running)caf.toolkit
version requirement - I don't have enough familiarity with this module to know if this would be simple or not. @BenTaylor-TfN any thoughts?