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
f09e6ee4
Commit
f09e6ee4
authored
Jul 02, 2015
by
eric pellegrini
Browse files
cosmetic changes
parent
5c6c7913
Changes
2
Hide whitespace changes
Inline
Side-by-side
MDANSE/App/GUI/Framework/__init__.py
View file @
f09e6ee4
...
...
@@ -2,5 +2,8 @@ def has_parent(window, target):
if
window
==
target
:
return
True
else
:
return
has_parent
(
window
.
Parent
,
target
)
if
window
.
TopLevelParent
==
window
:
return
False
return
has_parent
(
window
.
Parent
,
target
)
MDANSE/Framework/InputData/MMTKTrajectoryInputData.py
View file @
f09e6ee4
...
...
@@ -51,7 +51,7 @@ class MMTKTrajectoryInputData(InputFileData):
raise
InputDataError
(
"The MMTK trajectory %r could not be loaded property."
%
self
.
_filename
)
self
.
_data
=
traj
def
close
(
self
):
self
.
_data
.
close
()
...
...
@@ -93,3 +93,7 @@ class MMTKTrajectoryInputData(InputFileData):
@
property
def
universe
(
self
):
return
self
.
_data
.
universe
@
property
def
netcdf
(
self
):
return
self
.
_data
.
trajectory
.
file
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