Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
openstructure
Commits
19747a86
Verified
Commit
19747a86
authored
1 year ago
by
Xavier Robin
Browse files
Options
Downloads
Patches
Plain Diff
fix: adjust error message
parent
933511ef
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/io/src/mol/sdf_reader.cc
+2
-2
2 additions, 2 deletions
modules/io/src/mol/sdf_reader.cc
with
2 additions
and
2 deletions
modules/io/src/mol/sdf_reader.cc
+
2
−
2
View file @
19747a86
...
...
@@ -400,8 +400,8 @@ std::vector<SDFReader::charge_data> SDFReader::ParseMCharge(const String& line,
if
(
line
.
length
()
<
15
)
{
// Handle the case where we have trailing space characters
String
msg
=
"Bad Charge line %d: Not
correct number of
characters on the"
" line: %i (should be between 15
and 17
)"
;
String
msg
=
"Bad Charge line %d: Not
enough
characters on the"
" line: %i (should be between 15
or more
)"
;
throw
IOException
(
str
(
format
(
msg
)
%
line_num
%
line
.
length
()));
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment