Closed derekacosta closed 4 years ago
Can you elaborate more on what you want to achieve? I have a trouble understanding the problem from your current description. From what I see in your suggested code, you are treating the filelist_file
as if it was a descriptor file, which is not.
This is fixed with the changes in #86, which remove metadata tags as part of the db building process.
heading into gaia/src/bindings/pygaia/scripts/classification/json_to_sig.py you can find that the code parses through the json and drops into yaml; however, the output produces is the same as the input, because the for loop which is iterating through the file is failing to pick out any attributes.
The more appropriate course would be to simply remove the for loop and in place paste the conditions within it as so
Out of interest for anyone reading this I am also running this command
find . -name '*.json' -exec sudo python2 ../../../gaia/src/bindings/pygaia/scripts/classification/json_to_sig.py {} {} \;
which traverses through directories of json file and converts them into sig files.