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/export functions #81

Merged
merged 18 commits into from
Apr 16, 2018
Merged

Fix/export functions #81

merged 18 commits into from
Apr 16, 2018

Conversation

BenjaSanchez
Copy link
Contributor

Problem this branch addreses:
Refer to issue #77. The functionality of RAVEN for saving a model as .yml has been fixed; now the .yml file is created with a simpler standard, and all associated functions have been adapted accordingly.

edkerk and others added 16 commits April 10, 2018 18:29
Update fix/export_functions with latest changes from devel branch
reads a RAVEN model and creates the corresponding yaml
wrapper was leaving behind a final white space for each metabolite name
-applied MATLAB smart indent (EDITOR -> EDIT -> Indent -> Smart)
-removed unecessary semicolons (end;)
-reformatted comments
* remove constructYaml, superseded by writeYaml
* remove Yaml export as function from exportModel, superseded by writeYaml
* remove Yaml libraries
applied MATLAB smart indent (EDITOR -> EDIT -> Indent -> Smart)
>feat:
-removed the obsolete addNull parameter
-retained backwards compatibility with other RAVEN functions
-the function now is capable to extract all the information from miriam field.  The output is literally the same as in previous version, just the different miriam names are saved in different columns
>refactor:
-got rid of some redundant function parts
>style:
-updated the function annotation and comments
added second output variable, which provides miriam names for extracted miriams
>feat:
-removed the hard-coded fields for several miriams (metCHEBI, metKEGG, rxnKEGG). Now the exporter identifies all the possible miriam names in the given miriam field and exports this information to YAML file
-added support for geneMiriams and compMiriams
>style:
-applied MATLAB smart indent (EDITOR -> EDIT -> Indent -> Smart)
removed the unecessary change to the code in previous commit
ravenCobraWrapper will try to find pmids in the field rxnNotes, and if found will place them in rxnMiriams. If not, it will leave it in rxnNotes
deletes middle names for compatibility with writeYaml
ordered dictionary for compartments
@BenjaSanchez BenjaSanchez added the feature A new function or new functionality for an existing function label Apr 16, 2018
Simonas Marcišauskas added 2 commits April 16, 2018 09:40
fixed typo in the description
added the execution permission in the command line (chmod a+x writeYaml.m)
@simas232 simas232 merged commit 79cf59c into devel Apr 16, 2018
@simas232 simas232 deleted the fix/export_functions branch April 16, 2018 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new function or new functionality for an existing function
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants