Skip to content

Commit

Permalink
Fixed - ato filter was not writing out atomic patterns correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
trisyoungs committed Dec 3, 2013
1 parent 0d8d9ca commit a316316
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ project(Aten)
set(DESCRIPTION "Aten - Atomic configuration builder and editor")
set(AUTHOR "Tristan Youngs")
set(VERSION_MAJOR "1")
set(VERSION_MINOR "854")
set(VERSION_MINOR "855")
set(VERSION_PATCH "1")

set(CMAKE_BUILD_TYPE "Release")
Expand Down
2 changes: 1 addition & 1 deletion aten.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Name, brief description, and version
Summary: Aten - Atomic configuration builder and editor
Name: %{shortname}
Version: 1.854
Version: 1.855
Release: 1
License: GPL
%define fullname %{name}-%{version}
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
AC_PREREQ(2.60)

# Set program name, version, bug-address and source directory
m4_define([ATEN_VERSION],[1.854])
m4_define([ATEN_VERSION],[1.855])
AC_INIT(aten,ATEN_VERSION,[email protected])
AC_CONFIG_SRCDIR([src/main.cpp])

Expand Down
1 change: 1 addition & 0 deletions data/filters/ato
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ filter(type="exportmodel",name="EPSR ATO File", nickname="ato", extension="ato",
writeLineF(" %5i\n", nrot);
writeLineF("%s", rotText);
}
else writeLineF(" %-2i\n", 0);
}
}

Expand Down
4 changes: 2 additions & 2 deletions extra/aten.dsc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Format: 1.0
Source: aten
Version: 1.854
Version: 1.855
Binary: aten
Maintainer: Tristan Youngs <[email protected]>
Architecture: any
Build-Depends: debhelper (>= 4.1.16), libqt4-dev | libqt4-core, libqt4-opengl-dev, libreadline5-dev | libreadline-dev, libgl1-mesa-dev, pkgconfig | pkg-config, libncurses5
Files:
c9261a9523963a7d298046de12c9b803 4307358 aten-1.854.tar.gz
c9261a9523963a7d298046de12c9b803 4307358 aten-1.855.tar.gz
9 changes: 5 additions & 4 deletions src/ff/expression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -394,17 +394,18 @@ bool Pattern::createExpression(bool vdwOnly, bool allowDummy)
else msg.print("... Found parameters for %i angles (%i dummy terms), %i with corresponding Urey-Bradley definitions.\n", angles_.nItems(), nDummyAngles, nUreyBradleys);
}
else msg.print("... Missing parameters for %i of %i angles.\n", iangles, angles_.nItems());
// Torsions
if (torsions_.nItems() != nTorsions)
// Torsions - impropers may have been added to the list, so subtract this number in the check
if ((torsions_.nItems()-nImpropers) != nTorsions)
{
msg.print("NIMPROPERS = %i\n", nImpropers);
msg.print("...INTERNAL ERROR: expected %i torsions, found %i\n", nTorsions, torsions_.nItems());
incomplete_ = TRUE;
}
else if (torsions_.nItems() == 0) msg.print("... No torsions in model.\n");
else if (itorsions == 0)
{
if (nDummyTorsions == 0) msg.print("... Found parameters for %i torsions.\n", torsions_.nItems());
else msg.print("... Found parameters for %i torsions (%i dummy terms).\n", torsions_.nItems(), nDummyTorsions);
if (nDummyTorsions == 0) msg.print("... Found parameters for %i torsions.\n", torsions_.nItems()-nImpropers);
else msg.print("... Found parameters for %i torsions (%i dummy terms).\n", torsions_.nItems()-nImpropers, nDummyTorsions);
}
else msg.print("... Missing parameters for %i of %i torsions.\n", itorsions, torsions_.nItems());
// Impropers
Expand Down
4 changes: 2 additions & 2 deletions src/main/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
#ifndef ATEN_VERSION_H
#define ATEN_VERSION_H

#define ATENVERSION "1.854"
#define ATENREVISION "1854"
#define ATENVERSION "1.855"
#define ATENREVISION "1855"
#define ATENDATE "Thu 28 Jun - 13:36"
#define ATENURL "http://aten.googlecode.com/svn/trunk"

Expand Down

0 comments on commit a316316

Please sign in to comment.