Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
aeri_quality_control
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
aeri
aeri_quality_control
Commits
54d510cf
Commit
54d510cf
authored
8 years ago
by
Coda Phillips
Browse files
Options
Downloads
Patches
Plain Diff
Use absolute paths
parent
056f7f16
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
interpret_qc.py
+2
-2
2 additions, 2 deletions
interpret_qc.py
main.py
+1
-1
1 addition, 1 deletion
main.py
with
3 additions
and
3 deletions
interpret_qc.py
+
2
−
2
View file @
54d510cf
...
...
@@ -111,8 +111,8 @@ if __name__ == '__main__':
args
=
parser
.
parse_args
()
if
not
args
.
serve
:
generate_all_plots
(
args
.
ftp
)
generate_all_plots
(
os
.
path
.
abspath
(
args
.
ftp
)
)
else
:
global_ftp_dir
=
args
.
ftp
global_ftp_dir
=
os
.
path
.
abspath
(
args
.
ftp
)
app
.
run
(
debug
=
True
)
This diff is collapsed.
Click to expand it.
main.py
+
1
−
1
View file @
54d510cf
...
...
@@ -56,7 +56,7 @@ def check_frame(frame, parameters):
return
frame
def
update_all
(
ftp_dir
,
parameters
=
None
):
cxs_files
=
glob
(
os
.
path
.
join
(
ftp_dir
,
'
AE*
'
,
'
*B1.CXS
'
))
cxs_files
=
glob
(
os
.
path
.
join
(
os
.
path
.
abspath
(
ftp_dir
)
,
'
AE*
'
,
'
*B1.CXS
'
))
for
qc_file
,
cxs_file
,
sum_file
in
files_to_update
(
cxs_files
):
print
(
'
Performing quality control for {}
'
.
format
(
cxs_file
))
frame
=
read_frame
(
cxs_file
,
sum_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