-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wildcards broken in write block #140
Comments
After marking & Christmas @richardreeve to write down logic of this here so that @kzscisoft can integrate into the current architecture. |
@soniamitchell, when you're back after the break would you mind putting in more details in here and #137 about how you generated those warnings please? |
Sure! What other information do you need? |
Any and all details needed for @kzscisoft to be able to reproduce those warnings/error messages and how he will know that he's fixed the problem. |
@soniamitchell - it turns out the the examples I got Kristian to incorporate into the testing when he refactored |
All information necessary to implement it is in my comment above (minus the The outputs should look something like the examples given here and here. The only thing we need to think about is the fact that wildcards can appear anywhere in the string.. I hope that helps! |
I am still somewhat confused, the example does not include any source reference, i.e. where I am guessing I need a job/model run which makes these items? |
I don't know how you've set up your unit tests, but I assumed you'd been using the python DP API? |
I would just generate some simple examples, first writing |
Not necessarily, the ideal unit test would hone in on just the wildcard expansion without any need for any calling of external codes. If someone could give me the exact scenarios they want to be covered using the registry example data that would be great. |
I'm afraid I don't know anything about registry example data. Is it preinstalled? or are you talking about a db.sqlite3 file? |
Hi @kzscisoft - sorry I've been out of this discussion. I was trying to get my post-Christmas marking done, but it's taking longer than I hoped (as always!). However, I'm afraid I'm with @soniamitchell - I don't know what's in the registry example data... can you point to where that is explained (if anywhere) or instructions on how to install it? |
Note this does not add actual files, so you may encounter issues (I use mocking in tests to overwrite the file retrieval capability) |
When attempting to generate a working config from the following write block:
A working config is generated without a write block and the following warning is returned:
The text was updated successfully, but these errors were encountered: