Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
tomwer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Jira
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
tomotools
tomwer
Commits
0e65ff96
Commit
0e65ff96
authored
3 years ago
by
payno
Browse files
Options
Downloads
Patches
Plain Diff
[core][axis] remove some warnings for using 'relative_cor_value' instead of self.__relative_value
parent
ce0bc608
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tomwer/core/process/reconstruction/axis/params.py
+3
-3
3 additions, 3 deletions
tomwer/core/process/reconstruction/axis/params.py
with
3 additions
and
3 deletions
tomwer/core/process/reconstruction/axis/params.py
+
3
−
3
View file @
0e65ff96
...
...
@@ -305,11 +305,11 @@ class AxisRP:
@property
@deprecated
(
replacement
=
"
relative_cor_value
"
,
since_version
=
"
0.7
"
)
def
value_ref_tomwer
(
self
):
return
self
.
__
relative_value
self
.
relative_
cor_
value
@property
def
relative_cor_value
(
self
):
return
self
.
value_ref_tomwer
return
self
.
__relative_value
@property
def
absolute_cor_value
(
self
):
...
...
@@ -702,7 +702,7 @@ class AxisRP:
assert
isinstance
(
axis_params
,
AxisRP
)
self
.
mode
=
axis_params
.
mode
self
.
frame_width
=
axis_params
.
frame_width
self
.
set_relative_value
(
axis_params
.
value_ref_tomwer
)
self
.
set_relative_value
(
axis_params
.
relative_cor_value
)
self
.
calculation_input_type
=
axis_params
.
calculation_input_type
self
.
use_sinogram
=
axis_params
.
use_sinogram
self
.
angle_mode
=
axis_params
.
angle_mode
...
...
This diff is collapsed.
Click to expand it.
payno
@payno
mentioned in commit
fe9790ce
·
3 years ago
mentioned in commit
fe9790ce
mentioned in commit fe9790ce69e84943c63c1b82d57bd823fff87fa1
Toggle commit list
payno
@payno
mentioned in commit
3efa42b5
·
3 years ago
mentioned in commit
3efa42b5
mentioned in commit 3efa42b5ac84975e63daa80c57b259ff3ae5f47d
Toggle commit list
payno
@payno
mentioned in commit
e2240c82
·
3 years ago
mentioned in commit
e2240c82
mentioned in commit e2240c8207d9929476325465025e501300b824e2
Toggle commit list
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