diff --git a/src/Species/SpeciesFactory.h b/src/Species/SpeciesFactory.h index aa716d524..81f03dbf7 100644 --- a/src/Species/SpeciesFactory.h +++ b/src/Species/SpeciesFactory.h @@ -22,6 +22,8 @@ class SpeciesFactory { std::string species_type(""); PyTools::extract("species_type",species_type,"Species",ispec); + if (patch->isMaster()) MESSAGE(1, "Creating Species : " << species_type ); + unsigned int tot_species_number = PyTools::nComponents("Species"); if(species_type.empty()) { @@ -342,8 +344,6 @@ class SpeciesFactory { std::vector retSpecies; retSpecies.resize(0); - if (patch->isMaster()) MESSAGE(1, "Creating Species :" ); - // read from python namelist unsigned int tot_species_number = PyTools::nComponents("Species"); for (unsigned int ispec = 0; ispec < tot_species_number; ispec++) {