Skip to content

Commit

Permalink
Remove excess attrs from asconfigured
Browse files Browse the repository at this point in the history
  • Loading branch information
mmore500 committed May 30, 2021
1 parent b8a6835 commit c094664
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions include/dish2/config/dump_config_csv.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,9 @@ void dump_config_csv() {
auto keyname_attributes = emp::keyname::unpack_t{
{"a", "asconfigured"},
{"proc", emp::to_string( uitsl::get_proc_id() ) },
{"source", EMP_STRINGIFY(DISHTINY_HASH_)},
{"ext", ".csv"}
};

if ( dish2::get_repro() ) keyname_attributes[ "repro" ] = *dish2::get_repro();

dish2::mkdir_exists_ok( "./outmeta" );

const std::string outname = dish2::pare_keyname_filename(
Expand All @@ -39,6 +36,7 @@ void dump_config_csv() {
const std::string outpath = emp::to_string("outmeta/", outname);

emp::DataFile df( outpath );
df.AddVal( EMP_STRINGIFY(DISHTINY_HASH_), "source" );
if ( dish2::get_repro() ) df.AddVal( *dish2::get_repro(), "Repro" );
if ( dish2::get_endeavor() ) df.AddVal( *dish2::get_endeavor(), "Endeavor" );
if ( dish2::get_slurm_job_id() ) df.AddVal(
Expand Down

0 comments on commit c094664

Please sign in to comment.