Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
parser-dl-poly
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
nomad-lab
parser-dl-poly
Commits
059d4c7f
Commit
059d4c7f
authored
Apr 8, 2020
by
Markus Scheidgen
Browse files
Options
Downloads
Patches
Plain Diff
Simplifying setup.py.
parent
7f905180
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlpolyparser/libMomo.py
+480
-480
480 additions, 480 deletions
dlpolyparser/libMomo.py
with
480 additions
and
480 deletions
dlpolyparser/libMomo.py
+
480
−
480
View file @
059d4c7f
...
@@ -439,7 +439,7 @@ class ShellInterface(object):
...
@@ -439,7 +439,7 @@ class ShellInterface(object):
try
:
try
:
height
,
width
=
os
.
popen
(
'
stty size
'
,
'
r
'
).
read
().
split
()
height
,
width
=
os
.
popen
(
'
stty size
'
,
'
r
'
).
read
().
split
()
width
=
int
(
width
)
width
=
int
(
width
)
leftright
=
(
(
width
-
len
(
title
)
-
2
)
//
2
leftright
=
(
width
-
len
(
title
)
-
2
)
//
2
except
ValueError
:
except
ValueError
:
leftright
=
40
leftright
=
40
return
trim
*
leftright
+
"
"
+
title
+
"
"
+
trim
*
leftright
return
trim
*
leftright
+
"
"
+
title
+
"
"
+
trim
*
leftright
...
...
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