brightway-lca / brightway2-io

Importing and exporting for the Brightway LCA framework
BSD 3-Clause "New" or "Revised" License
26 stars 40 forks source link

Restore-datadir #238

Open Stew-McD opened 9 months ago

Stew-McD commented 9 months ago

Continuation of last week's pull request, but now with the addition of a function to restore the entire datadir to the default dir, or somewhere else.

This is useful, for example, when working on a remote cluster.

cmutel commented 9 months ago

Thanks @Stew-McD.

We definitely can't merge this without some tests - I will try to add them over the break. Ping me if you get impatient.

I will also have time then to think about the question you asked. Not sure yet.

Stew-McD commented 3 months ago

Ah yea. Maybe I was getting caught up trying to solve something that wasn't a need for anyone else. It did work for me at the time, but probably I was just procrastinating. :D An external compress, extract, change datadir, do the same thing, I guess.

I've been sick for a while and getting back into it now. I appreciate your specific and constructive comments. I'll go through and respond as soon as I can.