Changeset 1002
- Timestamp:
- 07/14/20 00:22:32 (4 years ago)
- Location:
- cpp/frams/model
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/model/model.cpp
r999 r1002 441 441 { 442 442 Geno tmpgen; 443 makeGeno(tmpgen );443 makeGeno(tmpgen, NULL, true, true); 444 444 return tmpgen; 445 445 } 446 446 447 void Model::makeGeno(Geno &g, MultiMap *map, bool handle_defaults )448 { 449 if ((buildstatus != valid) && ( buildstatus != building))447 void Model::makeGeno(Geno &g, MultiMap *map, bool handle_defaults, bool can_be_invalid) 448 { 449 if ((buildstatus != valid) && (!can_be_invalid)) 450 450 { 451 451 g = Geno("", Geno::FORMAT_INVALID, "", "invalid model"); -
cpp/frams/model/model.h
r999 r1002 215 215 216 216 /// make f0 genotype from current construction (low level version of getF0Geno) 217 void makeGeno(Geno &, MultiMap *map = 0, bool handle_defaults = true );217 void makeGeno(Geno &, MultiMap *map = 0, bool handle_defaults = true, bool can_be_invalid = false); 218 218 219 219 /** @return Mapping from source genotype (0-based position in text) to model elements reference numbers.
Note: See TracChangeset
for help on using the changeset viewer.