Skip to content

Commit c12d8fc

Browse files
committed
Rename __step__ -> snapshot
1 parent 1636c31 commit c12d8fc

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/Iteration.cpp

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

277277
flush();

src/Series.cpp

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

10201020
readAttributes( ReadMode::IgnoreExisting );
10211021
/*
1022-
* __step__ changes over steps, so reread that.
1022+
* 'snapshot' changes over steps, so reread that.
10231023
*/
10241024
series.iterations.readAttributes( ReadMode::OverrideExisting );
10251025
/* obtain all paths inside the basepath (i.e. all iterations) */
@@ -1079,10 +1079,10 @@ SeriesImpl::readGorVBased( bool do_init )
10791079
case IterationEncoding::variableBased:
10801080
{
10811081
uint64_t index = 0;
1082-
if( series.iterations.containsAttribute( "__step__" ) )
1082+
if( series.iterations.containsAttribute( "snapshot" ) )
10831083
{
10841084
index = series.iterations
1085-
.getAttribute( "__step__" )
1085+
.getAttribute( "snapshot" )
10861086
.get< uint64_t >();
10871087
}
10881088
readSingleIteration( index, "", false );

0 commit comments

Comments
 (0)