cauldron / activity-browser

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

Remove custom path management #3

Open cmutel opened 8 months ago

cmutel commented 8 months 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 2 weeks 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