Skip to content

Commit 2230caa

Browse files
committed
tweaks for new structure
1 parent d0e3994 commit 2230caa

19 files changed

+62
-62
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ plugins {
22
id 'io.nextflow.nextflow-plugin' version '0.0.1-alpha4'
33
}
44

5-
version = '0.1.0'
6-
75
dependencies {
86
// add here plugins dependencies
97
implementation 'org.json:json:20240303'
108
implementation 'dev.harrel:json-schema:1.5.0'
119
implementation 'com.sanctionco.jmail:jmail:1.6.3' // Needed for e-mail format validation
1210
}
1311

12+
version = '0.1.0'
13+
1414
nextflowPlugin {
1515
nextflowVersion = '24.10.0'
1616

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
rootProject.name = 'bactopia'
1+
rootProject.name = 'nf-bactopia'

src/main/groovy/bactopia/plugin/BactopiaConfig.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package nextflow.bactopia
1+
package bactopia.plugin
22

33
import groovy.util.logging.Slf4j
44

src/main/groovy/bactopia/plugin/BactopiaExtension.groovy

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package nextflow.bactopia
17+
package bactopia.plugin
1818

1919
import groovy.json.JsonBuilder
2020
import org.json.JSONObject
@@ -29,15 +29,15 @@ import nextflow.plugin.extension.PluginExtensionPoint
2929
import nextflow.script.WorkflowMetadata
3030
import nextflow.Session
3131

32-
import nextflow.bactopia.BactopiaConfig
33-
import nextflow.bactopia.BactopiaSchema
34-
import nextflow.bactopia.nfschema.SummaryCreator
32+
import bactopia.plugin.BactopiaConfig
33+
import bactopia.plugin.BactopiaSchema
34+
import bactopia.plugin.nfschema.SummaryCreator
3535

36-
import static nextflow.bactopia.inputs.BactopiaTools.collectInputs
37-
import static nextflow.bactopia.BactopiaTemplate.getLogColors
38-
import static nextflow.bactopia.BactopiaTemplate.getLogo
39-
import static nextflow.bactopia.BactopiaTemplate.getWorkflowSummary
40-
import static nextflow.bactopia.nfschema.Common.getLongestKeyLength
36+
import static bactopia.plugin.inputs.BactopiaTools.collectInputs
37+
import static bactopia.plugin.BactopiaTemplate.getLogColors
38+
import static bactopia.plugin.BactopiaTemplate.getLogo
39+
import static bactopia.plugin.BactopiaTemplate.getWorkflowSummary
40+
import static bactopia.plugin.nfschema.Common.getLongestKeyLength
4141

4242
/**
4343
* Example plugin extension showing how to implement a basic

src/main/groovy/bactopia/plugin/BactopiaFactory.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package nextflow.bactopia
17+
package bactopia.plugin
1818

1919
import groovy.transform.CompileStatic
2020
import nextflow.Session

src/main/groovy/bactopia/plugin/BactopiaMotD.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
package nextflow.bactopia
1+
package bactopia.plugin
22

33
import groovy.util.logging.Slf4j
44

5-
import static nextflow.bactopia.BactopiaTemplate.getLogColors
5+
import static bactopia.plugin.BactopiaTemplate.getLogColors
66

77
@Slf4j
88
class BactopiaMotD {

src/main/groovy/bactopia/plugin/BactopiaObserver.groovy

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package nextflow.bactopia
17+
package bactopia.plugin
1818

1919
import groovy.transform.CompileStatic
2020
import groovy.util.logging.Slf4j
@@ -23,9 +23,9 @@ import java.nio.file.Paths
2323
import nextflow.Session
2424
import nextflow.trace.TraceObserver
2525

26-
import nextflow.bactopia.BactopiaConfig
27-
import nextflow.bactopia.nfschema.HelpMessageCreator
28-
import static nextflow.bactopia.BactopiaMotD.getMotD
26+
import bactopia.plugin.BactopiaConfig
27+
import bactopia.plugin.nfschema.HelpMessageCreator
28+
import static bactopia.plugin.BactopiaMotD.getMotD
2929

3030
/**
3131
* Bactopia workflow observer

src/main/groovy/bactopia/plugin/BactopiaPlugin.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package nextflow.bactopia
17+
package bactopia.plugin
1818

1919
import groovy.transform.CompileStatic
2020
import nextflow.plugin.BasePlugin

src/main/groovy/bactopia/plugin/BactopiaSchema.groovy

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//
55
// This is based on the original NF-Core template (the OG 'libs' folder) and the nf-validation
66
// plugin (which you should probably be using instead of this file).
7-
package nextflow.bactopia
7+
package bactopia.plugin
88

99
import groovy.json.JsonBuilder
1010
import groovy.json.JsonSlurper
@@ -28,16 +28,16 @@ import nextflow.Nextflow
2828
import nextflow.util.Duration
2929
import nextflow.util.MemoryUnit
3030

31-
import nextflow.bactopia.BactopiaConfig
32-
import nextflow.bactopia.nfschema.JsonSchemaValidator
31+
import bactopia.plugin.BactopiaConfig
32+
import bactopia.plugin.nfschema.JsonSchemaValidator
3333

34-
import static nextflow.bactopia.nfschema.Common.getBasePath
35-
import static nextflow.bactopia.BactopiaUtils.isLocal
36-
import static nextflow.bactopia.BactopiaUtils.isPositiveInteger
37-
import static nextflow.bactopia.BactopiaUtils.fileNotFound
38-
import static nextflow.bactopia.BactopiaUtils.fileNotGzipped
39-
import static nextflow.bactopia.BactopiaTemplate.getLogColors
40-
import static nextflow.bactopia.BactopiaTemplate.logError
34+
import static bactopia.plugin.nfschema.Common.getBasePath
35+
import static bactopia.plugin.BactopiaUtils.isLocal
36+
import static bactopia.plugin.BactopiaUtils.isPositiveInteger
37+
import static bactopia.plugin.BactopiaUtils.fileNotFound
38+
import static bactopia.plugin.BactopiaUtils.fileNotGzipped
39+
import static bactopia.plugin.BactopiaTemplate.getLogColors
40+
import static bactopia.plugin.BactopiaTemplate.logError
4141

4242
@Slf4j
4343
class BactopiaSchema {

src/main/groovy/bactopia/plugin/BactopiaTemplate.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//
44
// This is based on the original NF-Core template (the OG 'libs' folder) and the nf-validation
55
// plugin (which you should probably be using instead of this file).
6-
package nextflow.bactopia
6+
package bactopia.plugin
77

88
import groovy.util.logging.Slf4j
99

0 commit comments

Comments
 (0)