# \#groovy

**URL:** https://community.seqera.io/tag/groovy/47.md

[Latest](https://community.seqera.io/latest.md) · [Categories](https://community.seqera.io/categories.md) · [Tags](https://community.seqera.io/tags.md)

---

## [Nextflow 64 kb file size limit](https://community.seqera.io/t/nextflow-64-kb-file-size-limit/679)

<div class="topic-metadata">

**Author:** [@brgew](https://community.seqera.io/u/brgew)\
**Replies:** 4\
**Last updated:** [April 22, 2024, 7:01pm UTC](https://community.seqera.io/t/nextflow-64-kb-file-size-limit/679 "2024-04-22T19:01:35Z")

</div>

Hi, I may need to convert a Nextflow DSL 1 pipeline to DSL2. I read that there is a 64 kB file size limit for DSL2, and that the size limit is imposed by the Groovy shell. I searched for additional information and read …

---

## [Call methods in groovy classes don't seem to work](https://community.seqera.io/t/call-methods-in-groovy-classes-dont-seem-to-work/643)

<div class="topic-metadata">

**Author:** [@bskubi](https://community.seqera.io/u/bskubi)\
**Replies:** 15\
**Last updated:** [April 10, 2024, 3:22pm UTC](https://community.seqera.io/t/call-methods-in-groovy-classes-dont-seem-to-work/643 "2024-04-10T15:22:04Z")

</div>

In groovy, you can create classes with call() methods: class Demo { def call() {} } demo = new Demo() demo() // Runs call() method This appears not to work in nextflow. The following code gives the error Missing p…

---

## [Including groovy classes from nextflow modules](https://community.seqera.io/t/including-groovy-classes-from-nextflow-modules/630)

<div class="topic-metadata">

**Author:** [@bskubi](https://community.seqera.io/u/bskubi)\
**Replies:** 3\
**Last updated:** [April 5, 2024, 1:57am UTC](https://community.seqera.io/t/including-groovy-classes-from-nextflow-modules/630 "2024-04-05T01:57:29Z")

</div>

I’m making use of groovy classes in nextflow for things like allowing the user to run only part of the complete workflow based on params. Currently, I don’t see a way to include classes using NF’s include directive. Ins…

---

## [Use channels in .groovy file or include classes defined in another .nf module](https://community.seqera.io/t/use-channels-in-groovy-file-or-include-classes-defined-in-another-nf-module/587)

<div class="topic-metadata">

**Author:** [@bskubi](https://community.seqera.io/u/bskubi)\
**Replies:** 1\
**Last updated:** [March 26, 2024, 11:51am UTC](https://community.seqera.io/t/use-channels-in-groovy-file-or-include-classes-defined-in-another-nf-module/587 "2024-03-26T11:51:14Z")

</div>

I’m trying to create a groovy class that manipulates channels. I can do this if I define the class within the .nf file that uses it. But if I try to move the class to a separate .nf file, or put it in a .groovy file whi…
