Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
libcifpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
libcifpp
Commits
f815b858
Commit
f815b858
authored
Sep 08, 2020
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
accept missing SS bonds
parent
3f421f34
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
src/Secondary.cpp
+12
-2
No files found.
src/Secondary.cpp
View file @
f815b858
...
@@ -1224,11 +1224,21 @@ void DSSPImpl::calculateSecondaryStructure()
...
@@ -1224,11 +1224,21 @@ void DSSPImpl::calculateSecondaryStructure()
auto
r1
=
findRes
(
asym1
,
seq1
);
auto
r1
=
findRes
(
asym1
,
seq1
);
if
(
r1
==
mResidues
.
end
())
if
(
r1
==
mResidues
.
end
())
throw
std
::
runtime_error
(
"Invalid file, missing residue for SS bond"
);
{
if
(
cif
::
VERBOSE
)
std
::
cerr
<<
"Missing (incomplete?) residue for SS bond when trying to find "
<<
asym1
<<
'/'
<<
seq1
<<
std
::
endl
;
continue
;
// throw std::runtime_error("Invalid file, missing residue for SS bond");
}
auto
r2
=
findRes
(
asym2
,
seq2
);
auto
r2
=
findRes
(
asym2
,
seq2
);
if
(
r2
==
mResidues
.
end
())
if
(
r2
==
mResidues
.
end
())
throw
std
::
runtime_error
(
"Invalid file, missing residue for SS bond"
);
{
if
(
cif
::
VERBOSE
)
std
::
cerr
<<
"Missing (incomplete?) residue for SS bond when trying to find "
<<
asym2
<<
'/'
<<
seq2
<<
std
::
endl
;
continue
;
// throw std::runtime_error("Invalid file, missing residue for SS bond");
}
mSSBonds
.
emplace_back
(
&*
r1
,
&*
r2
);
mSSBonds
.
emplace_back
(
&*
r1
,
&*
r2
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment