Issue with defining source code in guild.yml

sort_sv_by_score:
  description: Runs validation of sorting singular vectors by score
  main: tests/sort_sv_by_score
  sourcecode:
    -exclude: '*.json'

This is my guild.yml file. I have a bunch of .json files in my directory (my results logs from previous experiments). When I run this operation though, despite specifying exclude, it attempts to copy over all the .json files.

Hi and welcome! I’m sorry you’re running into this. The issue is subtle — you need a space between the dash and your exclude.

Here’s a sample project that illustrates the issue:

The Guild file:

Guild should give you some help here, not just ignore the issue! I’ll look into what’s going on so others don’t need to face this.

The next release of Guild will warn you when it sees something like this. Sorry again for the frustation!

1 Like

Thank you, appreciate the prompt response!

1 Like