Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
a8db58a4
Commit
a8db58a4
authored
9 years ago
by
Elliot Oram
Browse files
Options
Downloads
Patches
Plain Diff
Added defaulting to cwd for saving
Refs #13826
parent
9523928e
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/QLRun.py
+9
-1
9 additions, 1 deletion
...nInterface/plugins/algorithms/WorkflowAlgorithms/QLRun.py
with
9 additions
and
1 deletion
Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/QLRun.py
+
9
−
1
View file @
a8db58a4
...
...
@@ -8,6 +8,11 @@ from mantid import config, logger
import
os
import
numpy
as
np
if
is_supported_f2py_platform
():
QLr
=
import_f2py
(
"
QLres
"
)
QLd
=
import_f2py
(
"
QLdata
"
)
Qse
=
import_f2py
(
"
QLse
"
)
class
QLRun
(
PythonAlgorithm
):
_program
=
None
...
...
@@ -159,7 +164,10 @@ class QLRun(PythonAlgorithm):
fitOp
=
[
o_el
,
o_bgd
,
o_w1
,
o_res
]
workdir
=
getDefaultWorkingDirectory
()
workdir
=
config
[
'
defaultsave.directory
'
]
if
not
os
.
path
.
isdir
(
workdir
):
workdir
=
os
.
getcwd
()
logger
.
information
(
'
Default Save directory is not set. Defaulting to current working Directory:
'
+
workdir
)
array_len
=
4096
# length of array in Fortran
CheckXrange
(
erange
,
'
Energy
'
)
...
...
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