The same thing as mentioned here by Maxime now als...
# linting
c
m
so you didn't update any thing, and suddenly nf-core lint started complaining about this subworkflow?
I'd say two people complaining about a similar bug, that's enough to create an issue on github
c
Exactly, I just changed one line in a local module and ran lint afterwards
m
😱
@mashehu @Júlia Mir linting appears to be broken with #C03D38JNFNJ
m
can you run
nf-core verbose lint
?
c
sure, should I just send the whole log as a file?
m
yes, please
c
verbose_lint_subworkflow_failed.txt
m
i don’t see the error here, which command did you use to get the error?
👀 1
c
now everything should be in there, sorry
m
can you update
bam_sort_stats_samtools
?
c
I already did here (https://github.com/nf-core/smrnaseq/pull/328), basically reinstalled it, afterwards I also had to update samtools/SORT
or do mean if
update
works in that case?
m
yes
c
I'll check
Seems to work
Copy code
gitpod /workspace/nf-core-smrnaseq (test_update_subwf) $ nf-core subworkflows update

                                          ,--./,-.
          ___     __   __   __   ___     /,-._.--~\
    |\ | |__  __ /  ` /  \ |__) |__         }  {
    | \| |       \__, \__/ |  \ |___     \`-._,-`-,
                                          `._,._,'

    nf-core/tools version 2.13.1 - <https://nf-co.re>


? Update all subworkflows or a single named subworkflow? Named subworkflow
? Subworkflow name: bam_sort_stats_samtools
? Do you want to view diffs of the proposed changes? No previews, just update everything
INFO     Updating 'nf-core/bam_sort_stats_samtools'                                                                                                                                                                                                                                                    
WARNING  All modules and subworkflows linked to the updated subworkflow will be automatically updated.                                                                                                                                                                                                 
         It is advised to keep all your modules and subworkflows up to date.                                                                                                                                                                                                                           
         It is not guaranteed that a subworkflow will continue working as expected if all modules/subworkflows used in it are not up to date.                                                                                                                                                          
                                                                                                                                                                                                                                                                                                       
? Would you like to continue updating all modules and subworkflows? No
INFO     Updates complete ✨                                                                                                                                                                                                                                                                           
gitpod /workspace/nf-core-smrnaseq (test_update_subwf) $ git status
On branch test_update_subwf
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   modules.json
        modified:   subworkflows/nf-core/bam_sort_stats_samtools/main.nf
lint
also does not complain anymore afterwards
m
win?
c
does it make sense that it fails because of the remote changes? 🤔
m
it is a bug in tools that we somehow don’t catch the correct error, but it is a pain to reproduce, tbh. but you can open an issue on tools with it and also clear description how you had set it up before we fixed it 🙂
👍 1
c
Only if you think it makes sense / would be helpful. I mean it seems to be easy to fix if it happens, I was just wondering if it might be a "systematic" issue that might need some more attention.
m
yes, since you are the second person running into it, I would call it systemic 🙂
👍 2