cauldron / activity-browser

GUI for Brightway
GNU Lesser General Public License v3.0
0 stars 3 forks source link

Remove custom path management #3

Open cmutel opened 1 year ago

cmutel commented 1 year ago

settings and settings_wizard has a lot of code around path management. bw2data now has projects.change_base_directories, and this should be used as much as possible.

will7200 commented 4 months ago

This can be replaced with explicit remembering of the default directory when the AB was started

Would you clarify on this? get_default_directory returns either an env that is set by the user, named BRIGHTWAY2_DIR or the default data dir from bw2data. Not sure what needs to be remembered since it will default to bw2data default directory anyways.

@cmutel