Skip to content

Scanner error messages - #175

Merged
andrewwinters5000 merged 6 commits into
mainfrom
ScannerErrorMessages
Aug 15, 2026
Merged

andrewwinters5000 merged 6 commits into
mainfrom
ScannerErrorMessages

Conversation

@DavidAKopriva

Copy link
Copy Markdown
Collaborator

The connect string is now tested for format errors and error messages are posted if they do not comply.

Add procedures and their tests to check for the proper formatting for the "connect" keword in the chain definitions.
Add checking of the connect format string before scanning for breaks. Post an exception if there is a problem, otherwise using the default segmentation.
@codecov

codecov Bot commented Aug 13, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 89.10891% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.34%. Comparing base (4722940) to head (8a6be1d).

Files with missing lines Patch % Lines
Source/Project/Model/SMModel.f90 33.33% 10 Missing ⚠️
Source/IO/Scanning.f90 97.22% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #175      +/-   ##
==========================================
+ Coverage   78.25%   78.34%   +0.09%     
==========================================
  Files          83       83              
  Lines       12387    12463      +76     
  Branches        2        2              
==========================================
+ Hits         9693     9764      +71     
- Misses       2694     2699       +5     
Flag Coverage Δ
unittests 78.34% <89.10%> (+0.09%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@andrewwinters5000 andrewwinters5000 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and nice to have these sanity checks on the input. I just left a comment about a docstring.

Comment thread Source/IO/FileAndStringProcessing.f90 Outdated
@andrewwinters5000
andrewwinters5000 enabled auto-merge (squash) August 15, 2026 18:22
@andrewwinters5000
andrewwinters5000 merged commit 3798eaf into main Aug 15, 2026
23 checks passed
@andrewwinters5000
andrewwinters5000 deleted the ScannerErrorMessages branch August 15, 2026 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants