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
d45ce506
Commit
d45ce506
authored
Sep 08, 2020
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'oeps' into trunk
parents
6aebf840
5ce8d87b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
3 deletions
+14
-3
GNUmakefile.in
+1
-1
src/Secondary.cpp
+12
-2
src/Structure.cpp
+1
-0
No files found.
GNUmakefile.in
View file @
d45ce506
...
@@ -44,7 +44,7 @@ DEBUG = @DEBUG@
...
@@ -44,7 +44,7 @@ DEBUG = @DEBUG@
ifeq
"$(DEBUG)"
"1"
ifeq
"$(DEBUG)"
"1"
DEFINES
+=
DEBUG
DEFINES
+=
DEBUG
CXXFLAGS
+=
-g
-O0
CXXFLAGS
+=
-g
-O0
-fstandalone-debug
LDFLAGS
+=
-g
LDFLAGS
+=
-g
else
else
CXXFLAGS
+=
-O3
CXXFLAGS
+=
-O3
...
...
src/Secondary.cpp
View file @
d45ce506
...
@@ -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
);
}
}
...
...
src/Structure.cpp
View file @
d45ce506
...
@@ -1276,6 +1276,7 @@ bool Monomer::isComplete() const
...
@@ -1276,6 +1276,7 @@ bool Monomer::isComplete() const
else
if
(
a
.
labelAtomID
()
==
"C"
)
seen
|=
2
;
else
if
(
a
.
labelAtomID
()
==
"C"
)
seen
|=
2
;
else
if
(
a
.
labelAtomID
()
==
"N"
)
seen
|=
4
;
else
if
(
a
.
labelAtomID
()
==
"N"
)
seen
|=
4
;
else
if
(
a
.
labelAtomID
()
==
"O"
)
seen
|=
8
;
else
if
(
a
.
labelAtomID
()
==
"O"
)
seen
|=
8
;
// else if (a.labelAtomID() == "OXT") seen |= 16;
}
}
return
seen
==
15
;
return
seen
==
15
;
}
}
...
...
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