Removed __traits_version__ from json files
Compare changes
Files
2- James Johnson authored
@@ -13,7 +13,8 @@ from force_bdss.io.workflow_reader import WorkflowReader
@@ -87,3 +88,14 @@ class TestWorkflowWriter(unittest.TestCase):
Due to security maintenance, Fraunhofer GitLab CE, GitLab EE, and Mattermost will be unavailable on Wednesday, April 20th, between 5 PM and 8PM CET. Please log out during the maintenance to avoid potential data loss.
Created by: jjenthought
The workflow is a dictionary which contains lists of dictionaries, so only the traits_version keys in the top level dict were being removed. This changed the function so it should do it recursively. It seems fine but the only test is a on a single hardcoded example at the minute. Refs. issue https://github.com/force-h2020/force-bdss/issues/134
Fixes #134 (closed)