Skip to content
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

fix: systematically add double quote to string elements in Yaml file #170

Merged
merged 6 commits into from
May 18, 2020

Conversation

haowang-bioinfo
Copy link
Member

Main improvements in this PR:

This PR is to address the issue raised in #169

  • The Yaml file is updated by systematically enclosing string elements with double quote, through the modified writeHumanYaml function
  • importHumanYaml is adapted to the addition of double quote in Yaml format
  • testYamlConversion is simplified by removing the input value and turning off notifications
  • Note that this PR has no effect on the model content, as well as file formats other than Yaml

I hereby confirm that I have:

  • Tested my code on my own computer for running the model
  • Selected devel as a target branch

- The Yaml file is updated by exporting with the new writeHumanYaml function.
- this optional feature allows to mute the notification messages while running the function
1. Enable automatic loading of yaml file from default location;
2.  Mute notification messages while running the test.
Copy link
Collaborator

@JonathanRob JonathanRob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, glad to see we're moving toward a more standardized yaml format. Thank you @Hao-Chalmers and @dweindl for helping with this.

I tested and confirmed that the loaded model is identical to the model loaded from devel, and the functions work as described, so it looks good to me.

@haowang-bioinfo haowang-bioinfo merged commit 82d430f into devel May 18, 2020
@haowang-bioinfo haowang-bioinfo deleted the fix/YamlQuotes branch May 18, 2020 17:40
@haowang-bioinfo haowang-bioinfo mentioned this pull request Jun 11, 2020
migp11 added a commit to bsc-life/Human-GEM that referenced this pull request May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants