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
20edfeff
Commit
20edfeff
authored
9 years ago
by
Peterson, Peter
Browse files
Options
Downloads
Patches
Plain Diff
Re #13987. Removing pylint warnings
parent
d71eb698
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
tools/scripts/extractAlgorithmNames.py
+3
-8
3 additions, 8 deletions
tools/scripts/extractAlgorithmNames.py
with
3 additions
and
8 deletions
tools/scripts/extractAlgorithmNames.py
+
3
−
8
View file @
20edfeff
# simply just print out all algorithm names in a directory which can be piped
# to a file
import
string
,
os
,
re
import
glob
import
mmap
os
.
chdir
(
"
PythonInterface/plugins/algorithms/WorkflowAlgorithms
"
)
for
file
in
glob
.
glob
(
"
*.py
"
):
for
file
name
in
glob
.
glob
(
"
*.py
"
):
#print file
if
'
PythonAlgorithm
'
in
open
(
file
).
read
():
print
file
if
'
PythonAlgorithm
'
in
open
(
file
name
).
read
():
print
file
name
#os.chdir("LiveData/src")
...
...
@@ -19,4 +15,3 @@ for file in glob.glob("*.py"):
# #print file
# if 'DECLARE_ALGORITHM' in open(file).read():
# print file
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