yes, (I am still fighting to get <https://github.c...
# hackathon-oct-2025-versions-topics-adoption
m
yes, (I am still fighting to get https://github.com/nf-core/modules/pull/9333 through, and I would still recommend to use the dev branch for linting etc. for now (e.g. https://github.com/nf-core/tools/pull/3922 is only in
dev
), but I think the structure is stable for now))
n
Okay thanks! Let me know if I can help with something. So we will go with this structure in the end? https://nfcore.slack.com/archives/C09LJTQQ3EY/p1762775623320299?thread_ts=1762763322.812579&cid=C09LJTQQ3EY
n
Okay so still the structure used in the hackathon, thanks! That's what I needed to know 🙂
m
(maybe with anchors in the future, but I couldn't add them programatically yet and that shouldn't change too much, )
no, it is different, where topics.version == versions_*
n
Okay thanks, do you want me to mention the anchors?
no, it is different, where topics.version == versions_*
Oh right, thanks for pointing that out! looks good
m
If you have time you can mention them
n
Okay, thanks
Hey I'm working on an example for the bytesize but noticed that the
lint --fix
command does not add the topics sections. Is this normal? And what do you expect if multiple versions are in the module?
e.g.:
Copy code
versions_bedgovcf:
    - - ${task.process}: {}
      - bedgovcf: {}
      - echo \$(bedgovcf --version 2>&1: {}
  versions_bgzip:
    - - ${task.process}: {}
      - bgzip: {}
      - bgzip --version | head -1 | sed "s/bgzip (htslib: {}
m
are you on the latest
dev
version?
n
Nope, I'm on the latest release
should I use the dev version instead?
m
yes, we found some bugs (and still try to resolve some, see missing quotes in the last line of your example)
n
Aha okay thanks! I'll retry it with dev
m
(not 100% sure if we aslo tested multiple versions too much, so might run into weird things there, please report in an issue)
n
Something seems broken on dev:
Copy code
versions_bedgovcf:
    - - ${task.process}: {}
      - bedgovcf: {}
  versions_bgzip:
    - - ${task.process}: {}
      - bgzip: {}
Also no topics section after running the lint command
m
can you run the lint command with
--verbose
as the second parameter and then check if it finds the topics correcty?
n
I forgot to pull in the changes facepalm
It works very well now:
Copy code
versions_bedgovcf:
    - - ${task.process}: {}
      - bedgovcf: {}
      - echo \$(bedgovcf --version 2>&1: {}
  versions_bgzip:
    - - ${task.process}: {}
      - bgzip: {}
      - bgzip --version | head -1 | sed "s/bgzip (htslib: {}
topics:
  versions:
    - - ${task.process}: {}
      - bedgovcf: {}
      - echo \$(bedgovcf --version 2>&1: {}
    - - ${task.process}: {}
      - bgzip: {}
      - bgzip --version | head -1 | sed "s/bgzip (htslib: {}
still some weird stuff with the command but everything else looks great!
👍🏻 1