Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Bug] - Case sensitivity of periods keyword in iMOD project file #1542

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

Closed
verkaik opened this issue May 27, 2025 · 0 comments · Fixed by #1543
Closed

[Bug] - Case sensitivity of periods keyword in iMOD project file #1542

verkaik opened this issue May 27, 2025 · 0 comments · Fixed by #1543
Assignees
Labels
bug Something isn't working

Comments

@verkaik
Copy link
Contributor

verkaik commented May 27, 2025

Bug description
Unwanted case sensitivity of the periods keywords when these are applied in the iMOD project (.prj) file.

Steps to reproduce
In the iMOD project (.prj) file, add a capitalized keyword for defining a periods keyword, e.g. SUMMER or WINTER. This will result in a raise exception, e.g.:

ValueError: time data summer does not match format "%Y-%m-%d %H:%M:%S" or "%Y-%m-%d". Errored while opening/reading data entries for: (rch)

@verkaik verkaik added the bug Something isn't working label May 27, 2025
@github-project-automation github-project-automation bot moved this to 📯 New in iMOD Suite May 27, 2025
JoerivanEngelen pushed a commit that referenced this issue May 27, 2025
…ct file. (#1543)

Fixes #1542 

# Description
<!---
Thanks for opening a PR!

Please add your description here of changes made and how they are going
to
resolve the linked issue 
-->
This fixes a minor bug related to unwanted case sensitivity of the
periods keyword in the iMOD project file.

# Checklist
<!---
Before requesting review, please go through this checklist:
-->

- [x] Links to correct issue
- [x] Update changelog, if changes affect users
- [x] PR title starts with ``Issue #nr``, e.g. ``Issue #737``
- [x] Unit tests were added
- [ ] **If feature added**: Added/extended example
@github-project-automation github-project-automation bot moved this from 📯 New to ✅ Done in iMOD Suite May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

1 participant