From f414c9be00c8567affb1255117b6d640743ce4f7 Mon Sep 17 00:00:00 2001 From: e-gugliotti-NOAA Date: Wed, 18 Oct 2023 10:36:43 -0400 Subject: [PATCH 1/3] update other name changes --- .github/r_scripts/update_ref_files.R | 2 +- .github/workflows/update-ss3-models.yml | 6 +++--- README.md | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/r_scripts/update_ref_files.R b/.github/r_scripts/update_ref_files.R index fb6df2a..e3cb5b6 100644 --- a/.github/r_scripts/update_ref_files.R +++ b/.github/r_scripts/update_ref_files.R @@ -1,5 +1,5 @@ # function to update the reference files in the models subfolder. -# assumes the working directory is the test-models repository. +# assumes the working directory is the ss3-test-models repository. #install.packages("r4ss") #install.packages("SSutils") library(r4ss) diff --git a/.github/workflows/update-ss3-models.yml b/.github/workflows/update-ss3-models.yml index b7d61b3..535d5a1 100644 --- a/.github/workflows/update-ss3-models.yml +++ b/.github/workflows/update-ss3-models.yml @@ -1,9 +1,9 @@ -name: update-test-models +name: update-ss3-test-models on: workflow_dispatch: jobs: - update-user-example-models: + update-ss3-test-models: runs-on: ubuntu-latest env: R_REMOTES_NO_ERRORS_FROM_WARNINGS: true @@ -111,4 +111,4 @@ jobs: with: commit_message: Update model files to new ss exe branch: add-update-workflow-new - title: 'Update model files to new ss exe' + title: 'Update model files to new ss3 exe' diff --git a/README.md b/README.md index 9933a13..6b6dcd6 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# test-models +# ss3-test-models Stock Synthesis models and scripts used for testing @@ -8,15 +8,15 @@ All SS models are in the "models" subfolder. All testing scripts and specificati ## Can I open a pull request to add my own models to this repository? -It is always helpful to have more examples of Stock Synthesis models! Please open a pull request in the [user-examples repository](https://github.com/nmfs-stock-synthesis/user-examples) to share your own models publicly. +It is always helpful to have more examples of Stock Synthesis models! Please open a pull request in the [ss3-user-examples repository](https://github.com/nmfs-stock-synthesis/ss3-user-examples) to share your own models publicly. -## Why are these models not in the user-examples repository? +## Why are these models not in the ss3-user-examples repository? This repository houses models used for testing Stock Synthesis. These are often based on stock assessment models, but may not be the final model version or may have been altered for testing purposes. In addition, the data in the model files should not be used as data sources, as the data may have been altered for testing purposes. ## How is Stock Synthesis tested? -Regression tests are the primary way that Stock Synthesis is tested. Regression tests are conducted automatically using Github actions. Each time, the set of models in test-models are run and then key model quantities are checked to determine if they have changed or remained the same relative to a reference run. +Regression tests are the primary way that Stock Synthesis is tested. Regression tests are conducted automatically using Github actions. Each time, the set of models in ss3-test-models are run and then key model quantities are checked to determine if they have changed or remained the same relative to a reference run. ## What features do these models have? From ea55c14347288fddf5c021d8f23c7a4a11ea5b66 Mon Sep 17 00:00:00 2001 From: e-gugliotti-NOAA Date: Mon, 23 Oct 2023 16:11:23 -0400 Subject: [PATCH 2/3] update stock-synthesis repo name --- .github/workflows/add-tag-on-model-update.yml | 2 +- .github/workflows/update-ss3-models.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/add-tag-on-model-update.yml b/.github/workflows/add-tag-on-model-update.yml index 1b171ef..2d612e8 100644 --- a/.github/workflows/add-tag-on-model-update.yml +++ b/.github/workflows/add-tag-on-model-update.yml @@ -23,7 +23,7 @@ jobs: - name: Get the ss last tag on unix id: get-latest-tag-unix run: | - latest_tag=$(git ls-remote --tags https://github.com/nmfs-stock-synthesis/stock-synthesis.git | tail -1 | sed 's/.*\/v//') + latest_tag=$(git ls-remote --tags https://github.com/nmfs-stock-synthesis/ss3-source-code.git | tail -1 | sed 's/.*\/v//') echo "tag=${latest_tag}" >> $GITHUB_OUTPUT - name: Get the ss last tag on unix diff --git a/.github/workflows/update-ss3-models.yml b/.github/workflows/update-ss3-models.yml index 535d5a1..ecefc52 100644 --- a/.github/workflows/update-ss3-models.yml +++ b/.github/workflows/update-ss3-models.yml @@ -37,7 +37,7 @@ jobs: - name: Get the latest SS3 executable run: | - wget -O ss3 https://github.com/nmfs-stock-synthesis/stock-synthesis/releases/latest/download/ss_linux + wget -O ss3 https://github.com/nmfs-stock-synthesis/ss3-source-code/releases/latest/download/ss_linux sudo chmod a+x ss3 mv ss3 /usr/local/bin/ss3 export PATH=/usr/local/bin/ss3:$PATH From f8c528cbc5885c8741a35f5c984201bace072a31 Mon Sep 17 00:00:00 2001 From: Elizabeth Gugliotti Date: Wed, 25 Oct 2023 15:44:39 -0400 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6b6dcd6..793f7e6 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Stock Synthesis models and scripts used for testing ## Repository structure -All SS models are in the "models" subfolder. All testing scripts and specifications files used by the SS development team are in the ".github" subfolder. +All SS3 models are in the "models" subfolder. All testing scripts and specifications files used by the SS3 development team are in the ".github" subfolder. ## Can I open a pull request to add my own models to this repository?