From 1958cfc80a68c1a8d53a9d0441bfee940e3ddbda Mon Sep 17 00:00:00 2001 From: Nicolas Vannieuwkerke Date: Tue, 8 Oct 2024 14:37:33 +0200 Subject: [PATCH] geotiff -> tiff --- .cruft.json | 10 +++++----- CHANGELOG.md | 2 +- README.md | 6 +++--- build.sh | 2 +- bump-version.sh | 2 +- docs/index.md | 12 ++++++------ mkdocs.yml | 8 ++++---- pom.xml | 14 +++++++------- .../nf-core/nf/test/{geotiff => tiff}/Methods.java | 4 ++-- .../nf/test/{geotiff => tiff}/PathExtension.java | 4 ++-- src/main/resources/META-INF/nf-test-plugin | 6 +++--- test.sh | 2 +- 12 files changed, 36 insertions(+), 36 deletions(-) rename src/main/java/nf-core/nf/test/{geotiff => tiff}/Methods.java (60%) rename src/main/java/nf-core/nf/test/{geotiff => tiff}/PathExtension.java (64%) diff --git a/.cruft.json b/.cruft.json index 8e5e487..8de4177 100644 --- a/.cruft.json +++ b/.cruft.json @@ -4,16 +4,16 @@ "checkout": null, "context": { "cookiecutter": { - "plugin_name": "nft-geotiff", - "plugin_slug": "nft-geotiff", - "description": "An nf-test plugin to test nft-geotiff files", + "plugin_name": "nft-tiff", + "plugin_slug": "nft-tiff", + "description": "An nf-test plugin to test nft-tiff files", "github_username": "nf-core", - "github_url": "https://github.com/nf-core/nft-geotiff", + "github_url": "https://github.com/nf-core/nft-tiff", "github_default_branch": "master", "version": "0.1.0", "license": "MIT", "mkdocs": true, - "docsite_url": "https://nf-core.github.io/nft-geotiff", + "docsite_url": "https://nf-core.github.io/nft-tiff", "author_name": "nf-core", "release_date": "2024-10-08", "year": "2024", diff --git a/CHANGELOG.md b/CHANGELOG.md index b7e20e7..0b95919 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,4 +2,4 @@ ## 0.1.0 -Initial release of nft-geotiff \ No newline at end of file +Initial release of nft-tiff \ No newline at end of file diff --git a/README.md b/README.md index cfb1f40..52ff6f3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# nft-geotiff +# nft-tiff -An nf-test plugin to test nft-geotiff files +An nf-test plugin to test nft-tiff files -Please read the [documentation](https://nf-core.github.io/nft-geotiff) for more information. +Please read the [documentation](https://nf-core.github.io/nft-tiff) for more information. diff --git a/build.sh b/build.sh index 9006180..217db8f 100755 --- a/build.sh +++ b/build.sh @@ -1,4 +1,4 @@ #!/bin/bash mvn package && \ -echo "Built $(readlink -f target/nft-geotiff*.jar)" \ No newline at end of file +echo "Built $(readlink -f target/nft-tiff*.jar)" \ No newline at end of file diff --git a/bump-version.sh b/bump-version.sh index 5616a28..60deec9 100755 --- a/bump-version.sh +++ b/bump-version.sh @@ -9,7 +9,7 @@ sed -i -e "s/moduleVersion=.*/moduleVersion=$version/" ./src/main/resources/META if [[ $version != *dev ]] then - sed -i -e "s/load \"nft-geotiff@.*\"/load \"nft-geotiff@$version\"/" ./docs/index.md + sed -i -e "s/load \"nft-tiff@.*\"/load \"nft-tiff@$version\"/" ./docs/index.md fi ./build.sh \ No newline at end of file diff --git a/docs/index.md b/docs/index.md index 7fa38ee..76b708a 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,6 +1,6 @@ -# nft-geotiff +# nft-tiff -An nf-test plugin to test nft-geotiff files +An nf-test plugin to test nft-tiff files ## Start using the plugin @@ -9,7 +9,7 @@ To start using the plugin please add it to your `nf-test.config` file: ```groovy title="nf-test.config" config { plugins { - load "nft-geotiff@0.1.0" + load "nft-tiff@0.1.0" } } ``` @@ -18,18 +18,18 @@ config { To use the development version, please do the following steps: -- Clone the [nft-geotiff repository](https://github.com/nf-core/nft-geotiff) +- Clone the [nft-tiff repository](https://github.com/nf-core/nft-tiff) === "HTTPS" ```bash - git clone https://github.com/nf-core/nft-geotiff.git + git clone https://github.com/nf-core/nft-tiff.git ``` === "SSH" ```bash - git clone git@github.com:nf-core/nft-geotiff.git + git clone git@github.com:nf-core/nft-tiff.git ``` - Run the build script diff --git a/mkdocs.yml b/mkdocs.yml index 9c1589c..d8fd0a2 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,7 +1,7 @@ -site_name: nf-core/nft-geotiff -repo_name: nf-core/nft-geotiff -repo_url: https://github.com/nf-core/nft-geotiff -site_url: https://nf-core.github.io/nft-geotiff +site_name: nf-core/nft-tiff +repo_name: nf-core/nft-tiff +repo_url: https://github.com/nf-core/nft-tiff +site_url: https://nf-core.github.io/nft-tiff nav: - Home: index.md diff --git a/pom.xml b/pom.xml index 8eae225..30a2fd8 100644 --- a/pom.xml +++ b/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.nf-core - nft-geotiff + nft-tiff 0.1.0 jar - nft-geotiff - An nf-test plugin to test nft-geotiff files - https://github.com/nf-core/nft-geotiff + nft-tiff + An nf-test plugin to test nft-tiff files + https://github.com/nf-core/nft-tiff @@ -20,9 +20,9 @@ - https://github.com/nf-core/nft-geotiff/tree/master - scm:git:https://github.com/nf-core/nft-geotiff - scm:git:ssh://github.com:nf-core/nft-geotiff.git + https://github.com/nf-core/nft-tiff/tree/master + scm:git:https://github.com/nf-core/nft-tiff + scm:git:ssh://github.com:nf-core/nft-tiff.git diff --git a/src/main/java/nf-core/nf/test/geotiff/Methods.java b/src/main/java/nf-core/nf/test/tiff/Methods.java similarity index 60% rename from src/main/java/nf-core/nf/test/geotiff/Methods.java rename to src/main/java/nf-core/nf/test/tiff/Methods.java index 9233de6..9d67648 100644 --- a/src/main/java/nf-core/nf/test/geotiff/Methods.java +++ b/src/main/java/nf-core/nf/test/tiff/Methods.java @@ -1,4 +1,4 @@ -package nf-core.nf.test.geotiff; +package nf-core.nf.test.tiff; /* * Add your custom methods to nf-test @@ -9,7 +9,7 @@ public class Methods { public static void hello() { - System.out.println("Hello from nft-geotiff"); + System.out.println("Hello from nft-tiff"); } } \ No newline at end of file diff --git a/src/main/java/nf-core/nf/test/geotiff/PathExtension.java b/src/main/java/nf-core/nf/test/tiff/PathExtension.java similarity index 64% rename from src/main/java/nf-core/nf/test/geotiff/PathExtension.java rename to src/main/java/nf-core/nf/test/tiff/PathExtension.java index 08ccf5b..9555060 100644 --- a/src/main/java/nf-core/nf/test/geotiff/PathExtension.java +++ b/src/main/java/nf-core/nf/test/tiff/PathExtension.java @@ -1,4 +1,4 @@ -package nf-core.nf.test.geotiff; +package nf-core.nf.test.tiff; /* * Add your custom extensions to the path() method @@ -9,7 +9,7 @@ public class PathExtension { public static void hello() { - System.out.println("Hello from nft-geotiff"); + System.out.println("Hello from nft-tiff"); } } \ No newline at end of file diff --git a/src/main/resources/META-INF/nf-test-plugin b/src/main/resources/META-INF/nf-test-plugin index 5bbafd2..43e81c6 100644 --- a/src/main/resources/META-INF/nf-test-plugin +++ b/src/main/resources/META-INF/nf-test-plugin @@ -1,5 +1,5 @@ -moduleName=nft-geotiff +moduleName=nft-tiff moduleVersion=0.1.0 moduleAuthors=nf-core -extensionMethods=nf-core.nf.test.geotiff.Methods -extensionClasses=nf-core.nf.test.geotiff.PathExtension \ No newline at end of file +extensionMethods=nf-core.nf.test.tiff.Methods +extensionClasses=nf-core.nf.test.tiff.PathExtension \ No newline at end of file diff --git a/test.sh b/test.sh index 93d4603..0690871 100755 --- a/test.sh +++ b/test.sh @@ -1,2 +1,2 @@ #!/bin/bash -nf-test test tests/**/*.nf.test --plugins target/nft-geotiff-*.jar "${@}" \ No newline at end of file +nf-test test tests/**/*.nf.test --plugins target/nft-tiff-*.jar "${@}" \ No newline at end of file