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
2447ee5b
Commit
2447ee5b
authored
13 years ago
by
Ansgar Philippsen
Browse files
Options
Downloads
Patches
Plain Diff
fixed alt_loc mechanics in pdb_reader for quack_mode
parent
68cd4e85
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/io/src/mol/pdb_reader.cc
+2
-2
2 additions, 2 deletions
modules/io/src/mol/pdb_reader.cc
with
2 additions
and
2 deletions
modules/io/src/mol/pdb_reader.cc
+
2
−
2
View file @
2447ee5b
...
...
@@ -773,7 +773,7 @@ void PDBReader::ParseAndAddAtom(const StringRef& line, int line_num,
assert
(
curr_residue_
.
IsValid
());
}
// finally add atom
LOG_DEBUG
(
"adding atom "
<<
aname
<<
" ("
<<
s_ele
<<
") @"
<<
apos
);
LOG_DEBUG
(
"adding atom "
<<
aname
<<
" ("
<<
s_ele
<<
" '"
<<
alt_loc
<<
"'"
<<
") @"
<<
apos
);
mol
::
AtomHandle
ah
;
if
(
curr_residue_
.
GetName
()
!=
res_name
.
str
())
{
if
(
!
profile_
.
fault_tolerant
&&
alt_loc
==
' '
)
{
...
...
@@ -798,7 +798,7 @@ void PDBReader::ParseAndAddAtom(const StringRef& line, int line_num,
return
;
}
}
if
(
alt_loc
!=
' '
)
{
if
(
!
profile_
.
quack_mode
&&
alt_loc
!=
' '
)
{
// Check if there is already a atom with the same name.
mol
::
AtomHandle
me
=
curr_residue_
.
FindAtom
(
aname
);
if
(
me
.
IsValid
())
{
...
...
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