Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
MDANSE
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Scientific Software
MDANSE
Commits
6e13df09
Commit
6e13df09
authored
Sep 13, 2018
by
Remi Perenon
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bugfix-regression_launch_job_windows' into 'develop'
Bugfix regression launch job windows See merge request
!38
parents
77edb103
62f5dcff
Pipeline
#4455
passed with stages
in 25 minutes and 29 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
CHANGELOG
CHANGELOG
+1
-0
Src/GUI/Plugins/JobPlugin.py
Src/GUI/Plugins/JobPlugin.py
+6
-8
No files found.
CHANGELOG
View file @
6e13df09
...
...
@@ -2,6 +2,7 @@ version 1.2.0
--------------
* ADDED issue #27 Better error handling when an error occurs when running an analysis from the GUI
* ADDED issue #10 Implemented Gromacs trajectory converter
* FIXED issue #36 Jobs could not be launched on Windows machines
* FIXED issue #35 Result of RBT was incorrect /!\ Modifies job behavior
* FIXED issue #32 Result of DCSF was incorrect (the QVectors changed over frames) /!\ Modifies job behavior
* FIXED issue #31 Result of RMSD was incorrect (the sqrt was not applied) /!\ Modifies job behavior
...
...
Src/GUI/Plugins/JobPlugin.py
View file @
6e13df09
...
...
@@ -112,15 +112,13 @@ class JobPlugin(ComponentPlugin):
self
.
_job
.
save
(
filename
,
parameters
)
if
PLATFORM
.
name
==
"windows"
:
startupinfo
=
subprocess
.
STARTUPINFO
()
startupinfo
.
dwFlags
|=
subprocess
.
STARTF_USESHOWWINDOW
startupinfo
.
wShowWindow
=
subprocess
.
SW_HIDE
else
:
startupinfo
=
None
try
:
subprocess
.
check_output
([
sys
.
executable
,
filename
],
stderr
=
subprocess
.
STDOUT
)
from
subprocess
import
DEVNULL
except
ImportError
:
DEVNULL
=
os
.
open
(
os
.
devnull
,
os
.
O_RDWR
)
try
:
subprocess
.
check_output
([
sys
.
executable
,
filename
],
stdin
=
DEVNULL
,
stderr
=
DEVNULL
)
except
subprocess
.
CalledProcessError
as
e
:
message
=
e
.
output
else
:
...
...
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