mGEMS will crash with the error message Error: basic_string if the program is called with an input abundances file (-a option) that contains bootstrap iterations from mSWEEP version 1.4.0 or earlier (abundances file created using the --iters option when running mSWEEP). The crash is caused by an extra empty line at the end of the abundances file, which does not exist in abundances files that have been produced without the mSWEEP bootstrapping option.
Since the issue is in mSWEEP, a workaround for successfully running mGEMS when bootstrapped abundances are used is to delete the empty line from the end of the input files.
However, mGEMS should produce more informative error messages if the input files contain nonsense or are in the wrong format. Closing this issue requires adding better error messages for such cases.
mGEMS will crash with the error message
Error: basic_string
if the program is called with an input abundances file (-a
option) that contains bootstrap iterations from mSWEEP version 1.4.0 or earlier (abundances file created using the--iters
option when running mSWEEP). The crash is caused by an extra empty line at the end of the abundances file, which does not exist in abundances files that have been produced without the mSWEEP bootstrapping option.Since the issue is in mSWEEP, a workaround for successfully running mGEMS when bootstrapped abundances are used is to delete the empty line from the end of the input files.
However, mGEMS should produce more informative error messages if the input files contain nonsense or are in the wrong format. Closing this issue requires adding better error messages for such cases.