-
Notifications
You must be signed in to change notification settings - Fork 0
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
Postprocessor newline issue #3
Comments
@nickrsan and @msdogan, I added new lines on this module as follows Modified lines: 92-94, 139, 147-151, and 180-182 These new features allow the end-user to investigate the objective function values at each link and time step as well as compare the target demand vs supplies. Mahesh Maskey August 15, 2020 |
@nickrsan |
@nickrsan I tried on Windows and it runs great, no blank lines. I will try with Mac and let you know. |
I got following error when I tried on Mac.
|
Hi Mustafa, Hmm, any chance that was run using Python 2, or a very old version of Python 3? That error message suggests an old version of Python. If we still need to support Python 2 though, I'll need to change the code - for Python 3, I'd suggest upgrading Python to a newer version. If you'll be using this computer today, it's probably best to revert to the previous version from Git, but I think you're using a Windows computer for the training? See you momentarily |
Hi Nick, That's is Python 2.7 installed on my Mac. I will be using Windows for the workshop. |
OK - do you think we'll want to keep Python 2.7 compatibility or is it OK to drop it? I'll also ask Jon in a pull request. |
Well, it is no problem for me to uninstall Python 2.7 and install 3+. But I believe Jon uses Python 2.7 version. |
Hi @jdherman, do you think we should keep Python 2.7 compatibility? |
Hi @msdogan,
I just pushed a new version of the postprocessor code (82930a4) to this copy of the calvin repository (not the CWS one). Can you give it a try and see if it resolves the extra newlines on the windows exports for you and then also check and make sure that it doesn't have any unintended side effects on Mac? I tried related code on Windows and Linux with success, but didn't run this actual script, so I'd be curious if it runs correctly on Mac, etc. Thank you!
The text was updated successfully, but these errors were encountered: