Ignore:
Timestamp:
06/29/09 21:02:03 (15 years ago)
Author:
mwajcht
Message:

Added parameter which indicated the maximum length of F1 genotype converter can produce. Default value is 500, but it can be overriden in converter's constructor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/f8-to-f1/conv_f8tof1.cpp

    r24 r25  
    653653                if (a != NULL) {
    654654                        dst += a->getF1Genotype(p);
    655                         if (dst.len() > 1500) {
    656                                 return ""; //genotype becomes too long so we abort conversion
     655                        if (dst.len() > maxF1Length) {
     656                                return SString(); //genotype becomes too long so we abort conversion
    657657                        }
    658658                }
Note: See TracChangeset for help on using the changeset viewer.