Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Plumed AlphaFold
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Martin Kurečka
Plumed AlphaFold
Commits
d63a9575
There was an error fetching the commit references. Please try again later.
Commit
d63a9575
authored
6 years ago
by
Giovanni Bussi
Browse files
Options
Downloads
Plain Diff
Merge branch 'v2.3' into v2.4
parents
433a90dd
92f48f5d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGES/v2.3.md
+1
-0
1 addition, 0 deletions
CHANGES/v2.3.md
src/generic/DumpAtoms.cpp
+5
-9
5 additions, 9 deletions
src/generic/DumpAtoms.cpp
with
6 additions
and
9 deletions
CHANGES/v2.3.md
+
1
−
0
View file @
d63a9575
...
...
@@ -234,6 +234,7 @@ For users:
-
Fixed a problem leading to NaN derivatives of
\r
ef switchingfunction
`Q`
when distance between two atoms is large.
-
GROMACS patch updated to gromacs-2016.5.
-
`./configure`
crashes if prefix is set to present working directory (notice that this choice was already leading to issues).
-
\r
ef DUMPATOMS reports an error when trying to write xtc/xdr files without the xdrfile library installed.
For developers:
-
Fixed small issue in debug options of
\r
ef driver (see
\i
ssue{245}).
...
...
This diff is collapsed.
Click to expand it.
src/generic/DumpAtoms.cpp
+
5
−
9
View file @
d63a9575
...
...
@@ -178,11 +178,7 @@ DumpAtoms::DumpAtoms(const ActionOptions&ao):
if
(
file
.
length
()
==
0
)
error
(
"name out output file was not specified"
);
type
=
Tools
::
extension
(
file
);
log
<<
" file name "
<<
file
<<
"
\n
"
;
if
(
type
==
"gro"
||
type
==
"xyz"
#ifdef __PLUMED_HAS_XDRFILE
||
type
==
"xtc"
||
type
==
"trr"
#endif
)
{
if
(
type
==
"gro"
||
type
==
"xyz"
||
type
==
"xtc"
||
type
==
"trr"
)
{
log
<<
" file extension indicates a "
<<
type
<<
" file
\n
"
;
}
else
{
log
<<
" file extension not detected, assuming xyz
\n
"
;
...
...
@@ -191,14 +187,14 @@ DumpAtoms::DumpAtoms(const ActionOptions&ao):
string
ntype
;
parse
(
"TYPE"
,
ntype
);
if
(
ntype
.
length
()
>
0
)
{
if
(
ntype
!=
"xyz"
&&
ntype
!=
"gro"
#ifdef __PLUMED_HAS_XDRFILE
&&
ntype
!=
"xtc"
&&
ntype
!=
"trr"
#endif
if
(
ntype
!=
"xyz"
&&
ntype
!=
"gro"
&&
ntype
!=
"xtc"
&&
ntype
!=
"trr"
)
error
(
"TYPE cannot be understood"
);
log
<<
" file type enforced to be "
<<
ntype
<<
"
\n
"
;
type
=
ntype
;
}
#ifndef __PLUMED_HAS_XDRFILE
if
(
type
==
"xtc"
||
type
==
"trr"
)
error
(
"types xtc and trr require PLUMED to be linked with the xdrfile library. Please install it and recompile PLUMED."
);
#endif
fmt_gro_pos
=
"%8.3f"
;
fmt_gro_box
=
"%12.7f"
;
...
...
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