I'm trying to update an nf-core module, a tiny cha...
# nostupidquestions
a
I'm trying to update an nf-core module, a tiny change that adds a new line to
versions.yml
. Some tests fail with this error which is expected, can I ignore these? https://github.com/nf-core/modules/actions/runs/20321495012/job/58378075874?pr=9584
Copy code
java.lang.RuntimeException: Different Snapshot:
  --- /tmp/expected11519174332626877479js +++ /tmp/found10718375207887664994json 
  on                                                                             
  @@ -12,7 @@                             @@ +12,7 @@                            
    12             ]                        12             ]                     
    13         ],                           13         ],                        
    14         "1": [                       14         "1": [                    
  ! 15             "versions.yml:md5,694b ! 15             "versions.yml:md5,06c1
  ddc418ec45dbcf5548a26ec5680c"           7f4f7d4d4db1dfc3a3c844207a18"          
    16         ],                           16         ],                        
    17         "dataset": [                 17         "dataset": [              
    18             [                        18             [                     
  @@ -26,7 @@                             @@ +26,7 @@                            
    26             ]                        26             ]                     
    27         ],                           27         ],                        
    28         "versions": [                28         "versions": [             
  ! 29             "versions.yml:md5,694b ! 29             "versions.yml:md5,06c1
  ddc418ec45dbcf5548a26ec5680c"           7f4f7d4d4db1dfc3a3c844207a18"          
    30         ]                            30         ]                         
    31     }                                31     }                             
    32 ]                                    32 ]
a
You need to update the snapshot locally and push it. (Although I think @Phil Ewels looked at automating snapshot updates by the bot perhaps but I can’t remember)
πŸ™ 1
a
The
<http://main.nf|main.nf>.test.snap
? Is the command that updates the snapshot?
Copy code
nf-core modules test <module_name> --update
a
Should be
πŸ‘ 1
a
Thanks Arthur, you're always super helpful.
p
I tried and failed sorry @Arthur I think. Needs another attempt.
πŸ‘ 1
a
In the mean time can I add some docs for noobs like me?
p
But yeah if there's a better place then that's always welcome!
Maybe coordinate in #C09H9L3R614 as there's a major overhaul / rewrite / reorganisation going on at the moment
a
Thanks Phil for pointing me in the right direction
πŸ‘πŸ» 1
p
But like I say, just because some docs exist - if you didn't find them then we can probably improve πŸ™‚ Even if it's just putting a link to those docs in a more relevant place.
πŸ‘ 1