Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
force-bdss
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
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
Service Desk
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
Adham Hashibon
force-bdss
Commits
0d088f2d
Commit
0d088f2d
authored
7 years ago
by
Stefano Borini
Browse files
Options
Downloads
Patches
Plain Diff
Flake
parent
650235da
No related branches found
Branches containing commit
No related tags found
1 merge request
!12
Data source result
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
force_bdss/core_plugins/csv_extractor/csv_extractor/csv_extractor_data_source.py
+3
-2
3 additions, 2 deletions
.../csv_extractor/csv_extractor/csv_extractor_data_source.py
force_bdss/data_sources/data_source_result.py
+3
-3
3 additions, 3 deletions
force_bdss/data_sources/data_source_result.py
with
6 additions
and
5 deletions
force_bdss/core_plugins/csv_extractor/csv_extractor/csv_extractor_data_source.py
+
3
−
2
View file @
0d088f2d
...
@@ -15,8 +15,9 @@ class CSVExtractorDataSource(BaseDataSource):
...
@@ -15,8 +15,9 @@ class CSVExtractorDataSource(BaseDataSource):
if
rowindex
==
self
.
model
.
row
:
if
rowindex
==
self
.
model
.
row
:
return
DataSourceResult
(
return
DataSourceResult
(
originator
=
self
,
originator
=
self
,
value_types
=
[
self
.
model
.
cuba_type
],
value_types
=
[
self
.
model
.
cuba_type
],
values
=
numpy
.
array
(
row
[
self
.
model
.
column
]).
reshape
(
1
,
1
)
values
=
numpy
.
array
(
row
[
self
.
model
.
column
]).
reshape
(
1
,
1
)
)
)
return
None
return
None
...
...
This diff is collapsed.
Click to expand it.
force_bdss/data_sources/data_source_result.py
+
3
−
3
View file @
0d088f2d
...
@@ -7,9 +7,9 @@ class DataSourceResult(HasTraits):
...
@@ -7,9 +7,9 @@ class DataSourceResult(HasTraits):
"""
Represents the result of a simulator.
"""
Represents the result of a simulator.
It contains the resulting cuba key, the associated uncertainty and the
It contains the resulting cuba key, the associated uncertainty and the
originating simulator.
originating simulator.
Difference between uncertainty and quality: uncertainty is a numerical
value
Difference between uncertainty and quality: uncertainty is a numerical
of the value, as in the case of an experimental simulation.
value
of the value, as in the case of an experimental simulation.
quality is the level of accuracy of the (e.g.
c
omputational) method, as
quality is the level of accuracy of the (e.g.
c
omputational) method, as
the importance and reliability of that value. It should be an enumeration
the importance and reliability of that value. It should be an enumeration
value such as HIGH, MEDIUM, POOR
"""
value such as HIGH, MEDIUM, POOR
"""
originator
=
Instance
(
BaseDataSource
)
originator
=
Instance
(
BaseDataSource
)
...
...
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