Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bliss-tomo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
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
tomo
bliss-tomo
Commits
d6d38a49
Commit
d6d38a49
authored
4 months ago
by
Valentin Valls
Browse files
Options
Downloads
Patches
Plain Diff
Drop get/set_parameters from tomo_config
parent
1503511d
No related branches found
No related tags found
No related merge requests found
Pipeline
#194576
passed
4 months ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tomo/controllers/tomo_config.py
+0
-21
0 additions, 21 deletions
tomo/controllers/tomo_config.py
with
0 additions
and
21 deletions
tomo/controllers/tomo_config.py
+
0
−
21
View file @
d6d38a49
...
...
@@ -392,27 +392,6 @@ class TomoConfig(BeaconObject, HasMetadataForScan):
"""
return
self
.
__autoprojection
def
get_parameters
(
self
):
"""
Return the config parameters as a dictionary
"""
return
self
.
pars
.
to_dict
()
def
set_parameter
(
self
,
key
,
value
):
"""
Update key parameter with given value if key exists in sequence
parameters
"""
if
key
in
self
.
pars
.
to_dict
():
self
.
pars
.
from_dict
({
key
:
value
})
def
set_parameters
(
self
,
dict
):
"""
Update all config parameters present in the given dictionary
with corresponding values
"""
self
.
pars
.
from_dict
(
dict
)
def
_init_config
(
self
,
config
):
"""
Read keys from config yml file and create corresponding attributes
...
...
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