Add enhancements from Markov-Transition#21
Merged
FelixCAAuer merged 37 commits intomainfrom Oct 30, 2025
Merged
Conversation
Add option to not have Global_Scenarios.xlsx Fix to_full_hourly_model for stochasticity
Fix vresprofile-adjustment in to_full_hourly_model for scenarios
Move "missing file" part of Global Scenarios to CaseStudy Move read-in of Power_Hindex up
Fix file-check for Global_Scenarios
Adjust "to_full_hourly_model" to new format of dataframes
Fix non-existing Inflow file
Remove default caseStudyFolder for ExcelWriter
Fix comparison of column widths if columns are part of a column group
Rename write_VRES/Profiles to write_Power_VRES/Profiles
Add error message, if one of the Excels has different amount of rows/cols than the other
Replace Regex-Search with faster solution Add missing information for weights_k/rp & hindex
Fix double slash in path when writing Excel-Files Fix index for dGlobal_Scenarios if no input file is given
Contributor
There was a problem hiding this comment.
Pull Request Overview
This pull request updates color formatting in printer output methods and includes changes to table definitions, Excel file data, and column width calculation logic. The main changes focus on ensuring only prefixes are colored in warning/error messages while leaving the message text uncolored, adding a new column to Data Sources table, fixing color definitions to include alpha channel, and refining Excel column width calculations.
- Modified
printer.pyto apply color formatting only to prefixes in error/warning/success messages - Updated
TableDefinitions.xmlwith version bump, new column, and corrected color hex values - Added new example Excel files for Power system data
- Enhanced column width calculation logic in
TableDefinition.pywith special cases
Reviewed Changes
Copilot reviewed 7 out of 25 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| printer.py | Modified error(), warning(), and success() methods to conditionally apply color only to prefix |
| TableDefinitions.xml | Version bump to v0.2.0, added personResponsible column, fixed color hex values with FF prefix |
| TableDefinition.py | Enhanced column width calculation with match-case for specific width values |
| data/example/*.xlsx | Added multiple new Excel example files for Power system configuration |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.