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
b437cfbf
Commit
b437cfbf
authored
9 years ago
by
Elliot Oram
Browse files
Options
Downloads
Patches
Plain Diff
Fixed Pylint violations
Refs #13286
parent
a3aba424
No related branches found
No related tags found
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
+6
-13
6 additions, 13 deletions
...nInterface/plugins/algorithms/WorkflowAlgorithms/QLRun.py
with
6 additions
and
13 deletions
Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/QLRun.py
+
6
−
13
View file @
b437cfbf
#pylint: disable=no-init
from
IndirectImport
import
*
if
is_supported_f2py_platform
():
QLr
=
import_f2py
(
"
QLres
"
)
QLd
=
import_f2py
(
"
QLdata
"
)
Qse
=
import_f2py
(
"
QLse
"
)
Que
=
import_f2py
(
"
Quest
"
)
resnorm
=
import_f2py
(
"
ResNorm
"
)
else
:
logger
.
error
(
'
F2Py functionality not currently available on your platform.
'
)
from
mantid.api
import
PythonAlgorithm
,
AlgorithmFactory
,
MatrixWorkspaceProperty
,
PropertyMode
,
WorkspaceGroupProperty
from
mantid.kernel
import
StringListValidator
,
Direction
...
...
@@ -138,13 +130,14 @@ class QLRun(PythonAlgorithm):
def
PyExec
(
self
):
#from IndirectImport import run_f2py_compatibility_test, is_supported_f2py_platform
if
is_supported_f2py_platform
():
import
IndirectBayes
as
Main
run_f2py_compatibility_test
()
from
IndirectBayes
import
CalcErange
,
GetXYE
,
ReadNormFile
,
ReadWidthFile
,
QLAddSampleLogs
,
C2Fw
,
C2Se
,
QuasiPlot
from
IndirectCommon
import
getDefaultWorkingDirectory
,
CheckXrange
,
CheckAnalysers
,
getEfixed
,
GetThetaQ
,
CheckHistZero
,
CheckHistSame
from
IndirectBayes
import
(
CalcErange
,
GetXYE
,
ReadNormFile
,
\
ReadWidthFile
,
QLAddSampleLogs
,
C2Fw
,
\
C2Se
,
QuasiPlot
)
from
IndirectCommon
import
(
getDefaultWorkingDirectory
,
CheckXrange
,
\
CheckAnalysers
,
getEfixed
,
GetThetaQ
,
\
CheckHistZero
,
CheckHistSame
)
self
.
log
().
information
(
'
QLRun input
'
)
...
...
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