Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
HEPnOS
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sds
HEP
HEPnOS
Commits
c4044fd9
Commit
c4044fd9
authored
Apr 13, 2018
by
Matthieu Dorier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small correction to the dataset creation methods
parent
c350d83f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
src/DataSet.cpp
src/DataSet.cpp
+1
-0
src/DataStore.cpp
src/DataStore.cpp
+1
-1
No files found.
src/DataSet.cpp
View file @
c4044fd9
...
@@ -113,6 +113,7 @@ DataSet DataSet::createDataSet(const std::string& name) {
...
@@ -113,6 +113,7 @@ DataSet DataSet::createDataSet(const std::string& name) {
throw
Exception
(
"Invalid character '/' in dataset name"
);
throw
Exception
(
"Invalid character '/' in dataset name"
);
}
}
m_impl
->
m_datastore
->
store
(
m_impl
->
m_level
+
1
,
fullname
(),
name
,
std
::
vector
<
char
>
());
m_impl
->
m_datastore
->
store
(
m_impl
->
m_level
+
1
,
fullname
(),
name
,
std
::
vector
<
char
>
());
return
DataSet
(
*
(
m_impl
->
m_datastore
),
1
,
fullname
(),
name
);
}
}
}
}
src/DataStore.cpp
View file @
c4044fd9
...
@@ -338,7 +338,7 @@ DataSet DataStore::createDataSet(const std::string& name) {
...
@@ -338,7 +338,7 @@ DataSet DataStore::createDataSet(const std::string& name) {
throw
Exception
(
"Invalid character '/' in dataset name"
);
throw
Exception
(
"Invalid character '/' in dataset name"
);
}
}
store
(
1
,
""
,
name
,
std
::
vector
<
char
>
());
store
(
1
,
""
,
name
,
std
::
vector
<
char
>
());
return
DataSet
(
*
this
,
1
,
name
);
return
DataSet
(
*
this
,
1
,
""
,
name
);
}
}
bool
DataStore
::
load
(
uint8_t
level
,
const
std
::
string
&
containerName
,
bool
DataStore
::
load
(
uint8_t
level
,
const
std
::
string
&
containerName
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment