Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
MDANSE
Commits
7c0d220c
Commit
7c0d220c
authored
Nov 28, 2016
by
eric pellegrini
Browse files
Merge branch 'hotfix-1.0.4.rc3'
parents
265827b9
4414c27a
Pipeline
#1199
passed with stages
in 15 minutes and 52 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
BuildServer/Debian/DEBIAN/control
View file @
7c0d220c
Package: mdanse
Package: mdanse
Version: 1.0.0
Version: 1.0.0
Architecture: amd64
Architecture: amd64
Depends: python-wxmpl, pyro, python-vtk
Depends:
python-setuptools,
python-wxmpl, pyro, python-vtk
Section: Science
Section: Science
Priority: optional
Priority: optional
Installed-Size: 1000
Installed-Size: 1000
...
...
CHANGELOG
View file @
7c0d220c
version 1.0.4.rc2
----------------
* bug fix in debian packager: add the python-setuptools dependency
* improved LAMMPS converter: the parsing of the config file is more tolerance in term of required keyword format
version 1.0.4.rc2
version 1.0.4.rc2
----------------
----------------
* added support for gitflow bugfix branch to gitlab config file
* added support for gitflow bugfix branch to gitlab config file
...
...
MDANSE/Framework/Jobs/LAMMPS.py
View file @
7c0d220c
...
@@ -81,21 +81,21 @@ class LAMMPSConfigFile(dict):
...
@@ -81,21 +81,21 @@ class LAMMPSConfigFile(dict):
for
i
,
line
in
enumerate
(
lines
):
for
i
,
line
in
enumerate
(
lines
):
if
self
[
'n_atoms'
]
is
None
:
if
self
[
'n_atoms'
]
is
None
:
m
=
re
.
match
(
"^(\d+)
atoms$"
,
line
,
re
.
I
)
m
=
re
.
match
(
"^
\s*
(\d+)
\s*
atoms
\s*
$"
,
line
,
re
.
I
)
if
m
:
if
m
:
self
[
'n_atoms'
]
=
int
(
m
.
groups
()[
0
])
self
[
'n_atoms'
]
=
int
(
m
.
groups
()[
0
])
if
self
[
"n_atom_types"
]
is
None
:
if
self
[
"n_atom_types"
]
is
None
:
m
=
re
.
match
(
"^(\d+)
atom types$"
,
line
,
re
.
I
)
m
=
re
.
match
(
"^
\s*
(\d+)
\s*
atom types
\s*
$"
,
line
,
re
.
I
)
if
m
:
if
m
:
self
[
"n_atom_types"
]
=
int
(
m
.
groups
()[
0
])
self
[
"n_atom_types"
]
=
int
(
m
.
groups
()[
0
])
if
self
[
'n_bonds'
]
is
None
:
if
self
[
'n_bonds'
]
is
None
:
m
=
re
.
match
(
"^(\d+)
bonds$"
,
line
,
re
.
I
)
m
=
re
.
match
(
"^
\s*
(\d+)
\s*
bonds
\s*
$"
,
line
,
re
.
I
)
if
m
:
if
m
:
self
[
'n_bonds'
]
=
int
(
m
.
groups
()[
0
])
self
[
'n_bonds'
]
=
int
(
m
.
groups
()[
0
])
if
re
.
match
(
"^masses$"
,
line
,
re
.
I
):
if
re
.
match
(
"^
\s*
masses
\s*
$"
,
line
,
re
.
I
):
if
self
[
"n_atom_types"
]
is
None
:
if
self
[
"n_atom_types"
]
is
None
:
raise
LAMMPSConfigFileError
(
"Did not find the number of atom types."
)
raise
LAMMPSConfigFileError
(
"Did not find the number of atom types."
)
...
@@ -113,7 +113,7 @@ class LAMMPSConfigFile(dict):
...
@@ -113,7 +113,7 @@ class LAMMPSConfigFile(dict):
else
:
else
:
self
[
"elements"
][
idx
]
=
el
[
0
]
self
[
"elements"
][
idx
]
=
el
[
0
]
m
=
re
.
match
(
"^bonds$"
,
line
,
re
.
I
)
m
=
re
.
match
(
"^
\s*
bonds
\s*
$"
,
line
,
re
.
I
)
if
m
:
if
m
:
for
j
in
range
(
1
,
self
[
'n_bonds'
]
+
1
):
for
j
in
range
(
1
,
self
[
'n_bonds'
]
+
1
):
_
,
_
,
at1
,
at2
=
lines
[
i
+
j
].
split
()
_
,
_
,
at1
,
at2
=
lines
[
i
+
j
].
split
()
...
...
MDANSE/__pkginfo__.py
View file @
7c0d220c
__version__
=
"1.0.4.rc
2
"
__version__
=
"1.0.4.rc
3
"
__date__
=
"2
2
-11-2016"
__date__
=
"2
8
-11-2016"
__author__
=
"Eric Pellegrini"
__author__
=
"Eric Pellegrini"
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