Skip to content

Commit 7bde65b

Browse files
committed
Rename __step__ -> snapshot
1 parent 480d343 commit 7bde65b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Iteration.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ Iteration::flushVariableBased( uint64_t i )
269269
Parameter< Operation::OPEN_PATH > pOpen;
270270
pOpen.path = "";
271271
IOHandler()->enqueue( IOTask( this, pOpen ) );
272-
this->setAttribute( "__step__", i );
272+
this->setAttribute( "snapshot", i );
273273
}
274274

275275
flush();

src/Series.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ SeriesImpl::readGorVBased( bool do_init )
10021002

10031003
readAttributes( ReadMode::IgnoreExisting );
10041004
/*
1005-
* __step__ changes over steps, so reread that.
1005+
* 'snapshot' changes over steps, so reread that.
10061006
*/
10071007
series.iterations.readAttributes( ReadMode::OverrideExisting );
10081008
/* obtain all paths inside the basepath (i.e. all iterations) */
@@ -1062,10 +1062,10 @@ SeriesImpl::readGorVBased( bool do_init )
10621062
case IterationEncoding::variableBased:
10631063
{
10641064
uint64_t index = 0;
1065-
if( series.iterations.containsAttribute( "__step__" ) )
1065+
if( series.iterations.containsAttribute( "snapshot" ) )
10661066
{
10671067
index = series.iterations
1068-
.getAttribute( "__step__" )
1068+
.getAttribute( "snapshot" )
10691069
.get< uint64_t >();
10701070
}
10711071
readSingleIteration( index, "", false );

0 commit comments

Comments
 (0)