diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index c2d02e9..bf1055f 100755 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -126,7 +126,7 @@ jobs: # See: https://github.com/marketplace/actions/coveralls-github-action - name: Coveralls if: matrix.name == 'ubuntu-gcc-9' - uses: coverallsapp/github-action@v1.1.2 + uses: coverallsapp/github-action@v2.3.4 with: github-token: ${{ secrets.GITHUB_TOKEN }} #run: coveralls --exclude lib --exclude tests --exclude src/random --exclude src/codeCogs/ --exclude src/export/ --exclude src/gzstream/ --gcov-options '\-lp' diff --git a/src/dEploidIO.cpp b/src/dEploidIO.cpp index db1cb58..2503f13 100755 --- a/src/dEploidIO.cpp +++ b/src/dEploidIO.cpp @@ -749,7 +749,6 @@ void DEploidIO::readPanel() { DEploidIO::DEploidIO(const DEploidIO &cpFrom) { this->setIsCopied(true); this->setDoExportRecombProb(cpFrom.doExportRecombProb()); - //this->setrandomSeedWasGiven(cpFrom.randomSeedWasGiven()); this->setCompressVcf(cpFrom.compressVcf()); this->setInitialPropWasGiven(cpFrom.initialPropWasGiven()); this->setInitialHapWasGiven(cpFrom.initialHapWasGiven()); diff --git a/src/dEploidIO.hpp b/src/dEploidIO.hpp index ded2e02..fc97e55 100755 --- a/src/dEploidIO.hpp +++ b/src/dEploidIO.hpp @@ -140,6 +140,10 @@ class DEploidIO{ void workflow_ibd(); void workflow_best(); + // Make this public so it is also accessible from + Parameter randomSeed_; + bool randomSeedWasSet() const {return this->randomSeed_.useUserDefined(); } + private: void setBestPracticeParameters(); void core(); @@ -233,7 +237,6 @@ class DEploidIO{ Parameter kStrain_; Parameter precision_; Parameter nMcmcSample_; - Parameter randomSeed_; Parameter mcmcMachineryRate_; Parameter mcmcBurn_;