-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a FAQ section to the documentation #17
Comments
It seems that it could make sense to add a troubleshooting guide for installation PyPSA-Earth on Windows. The known problems are:
Generally, Windows Subsystem for Linux can be recommended as an effective universal solution |
As a quick fix, adding here an instruction on how to use pre-commit (@davide-f, thanks a lot for writing it!): If you are using vscode, you may use the pre-commit locally with: in view-command pallette-> Python: Select intepreter-> PyPSA-Earth |
A short trouble-shooting guide would be helpful to support set-up of the model. The simplest steps which are often helpful:
|
There is a number of practical questions which do not really fit into the proper documentation structure but arise receptively. It looks like this kind of information can be kept as "Frequently Asked Questions". Currently this list may look like this:
The solution is described here.
conda env update -f envs/environment.yaml
(works on an activated environment, see https://stackoverflow.com/a/43873901/8465924)Note: sometimes it's necessary to uninstall and reinstall package in the environment to get it work. That is in particular the case when a package source has changed recently
It can be very useful if your fork needs some clean-up. Please use the instructions bellow with caution as they drop changes in your main branch setting its' state according to the
upstream/main
.Adapted from reference
how to rerun Snakemake workflow
sometimes it may be tricky to re-run the workflow on the prepared data, in particular due to
input files updated by another job
(even it's not the case). Using--rerun-triggers
withmtime
argument does resolve this problem.This issue is connected with some changes in the re-run behaviour of Snakemake. See this SO discussion for the details.
The text was updated successfully, but these errors were encountered: