Skip to content

MultiCellDS saves elapsed_time_in_phase twice? #229

Open
@drbergman

Description

@drbergman

As best I can tell, elapsed_time_in_phase is being saved twice:

  1. std::fwrite( &( pCell->phenotype.cycle.data.elapsed_time_in_phase ) , sizeof(double) , 1 , fp );
  2. std::fwrite( &( pCell->phenotype.cycle.data.elapsed_time_in_phase ) , sizeof(double) , 1 , fp );

Note: these two are appended to the list of labels in the output xml here:

  1. name = "elapsed_time_in_phase";
    units = "min";
    size = 1;
    data_names.push_back( name );
    data_units.push_back(units);
    data_sizes.push_back( size );
    data_start_indices.push_back( index );
    cell_data_size += size;
    index += size;
  2. name = "elapsed_time_in_phase";
    units = "min";
    size = 1;
    data_names.push_back( name );
    data_units.push_back(units);
    data_sizes.push_back( size );
    data_start_indices.push_back( index );
    cell_data_size += size;
    index += size;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions