Skip to content
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

Subprocess on Windows #35

Open
HauHe opened this issue Apr 25, 2022 · 4 comments
Open

Subprocess on Windows #35

HauHe opened this issue Apr 25, 2022 · 4 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@HauHe
Copy link
Collaborator

HauHe commented Apr 25, 2022

It seems like on Windows the calling of snakemake from the python script via subprocess doesn't work.
A solution that works on Unix and Windows would be desirable.

@HauHe HauHe added bug Something isn't working enhancement New feature or request labels Apr 25, 2022
@HauHe
Copy link
Collaborator Author

HauHe commented Jul 25, 2023

Since you work on Windows, I assume this works @trevorb1?

@trevorb1
Copy link
Collaborator

My computer is Windows, but I work in a Linux shell for coding. So I haven't tested the workflow on Windows before, @HauHe. :(

@HauHe
Copy link
Collaborator Author

HauHe commented Jul 26, 2023

Ah, damn, well I will see if it works later when trying to run it on our workstation...

@HauHe
Copy link
Collaborator Author

HauHe commented Jul 28, 2023

So, not sure if the issue is still subprocess related. In any case it now fail both when flagging glpk as solver and when flagging gurobi. In both case the lp-file for step_0 is created but it does not manage to run it. I thought it might be related to the copying of the osemosys file when running with glpk, but since the error seems the same with gurobi, I'm not sure...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants