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
1df1ab74
Commit
1df1ab74
authored
Mar 07, 2017
by
eric pellegrini
Browse files
the commit id is now displayed in the About dialog
the bug report button automatically open the default mail client
parent
df1ca5cb
Pipeline
#1489
passed with stages
in 7 minutes and 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
MDANSE/GUI/MainFrame.py
View file @
1df1ab74
...
...
@@ -39,7 +39,7 @@ import wx
import
wx.aui
as
aui
from
MDANSE
import
LOGGER
,
PLATFORM
,
REGISTRY
from
MDANSE.__pkginfo__
import
__version__
from
MDANSE.__pkginfo__
import
__commit__
,
__version__
from
MDANSE.Framework.Jobs.Converter
import
Converter
from
MDANSE.GUI.ControllerPanel
import
ControllerPanel
from
MDANSE.GUI.DataController
import
DATA_CONTROLLER
...
...
@@ -233,7 +233,7 @@ class MainFrame(wx.Frame):
def
on_about
(
self
,
event
=
None
):
about_str
=
\
"""MDANSE version %s.
"""MDANSE version %s
(commit %s)
.
An interactive program for analyzing Molecular Dynamics simulations.
...
...
@@ -241,33 +241,15 @@ Authors:
\t
Eric C. Pellegrini
\t
Gael Goret
\t
Bachir Aoun
"""
%
(
__version__
,)
"""
%
(
__version__
,
__commit__
)
d
=
wx
.
MessageDialog
(
self
,
about_str
,
'About'
,
style
=
wx
.
OK
|
wx
.
ICON_INFORMATION
)
d
.
ShowModal
()
d
.
Destroy
()
def
on_bug_report
(
self
,
event
=
None
):
report_str
=
\
"""The version 1 of MDANSE is currently under testing.
In order to facilitate the integration of new features and bug fixes, please send pull request to:
https://github.com/mdanseproject/MDANSE/tree/master/MDANSE
for any other request, please send an email to:
\t
pellegrini@ill.fr
\t
gonzalezm@ill.fr
\t
johnson@ill.fr
or directly to the MDANSE mailing list:
\t
mdanse@ill.fr
"""
d
=
wx
.
MessageDialog
(
self
,
report_str
,
'Bug report'
,
style
=
wx
.
OK
|
wx
.
ICON_INFORMATION
)
d
.
ShowModal
()
d
.
Destroy
()
webbrowser
.
open
(
"mailto:mdanse@ill.fr?subject=MDANSE query"
)
def
on_simple_help
(
self
,
event
):
...
...
@@ -439,7 +421,7 @@ or directly to the MDANSE mailing list:
if
__name__
==
"__main__"
:
app
=
wx
.
App
(
False
)
f
=
MainFrame
(
None
)
f
.
Show
(
)
from
MDANSE.GUI.Apps
import
MainApplication
app
=
MainApplication
(
None
)
app
.
MainLoop
()
eric pellegrini
@pellegrini
mentioned in issue
#4 (closed)
·
Mar 07, 2017
mentioned in issue
#4 (closed)
mentioned in issue #4
Toggle commit list
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