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

added memote consistency tests #50

Merged
merged 19 commits into from
Nov 12, 2022
Merged

Conversation

Fl-Sch
Copy link
Collaborator

@Fl-Sch Fl-Sch commented Oct 26, 2022

We added the metabolite connectivity and unbounded flux in default medium tests. We are not sure about the structural elements, like if we correctly added to the consistency config.

@stelmo stelmo self-requested a review October 26, 2022 17:24
Copy link
Collaborator

@exaexa exaexa left a comment

Choose a reason for hiding this comment

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

Small changes required, otherwise looks good.

src/memote/checks/Consistency.jl Outdated Show resolved Hide resolved
src/memote/checks/Consistency.jl Outdated Show resolved Hide resolved
src/memote/checks/Consistency.jl Outdated Show resolved Hide resolved
src/memote/checks/Consistency.jl Outdated Show resolved Hide resolved
src/memote/checks/Consistency.jl Outdated Show resolved Hide resolved
src/memote/utils.jl Outdated Show resolved Hide resolved
src/memote/utils.jl Outdated Show resolved Hide resolved
Copy link
Collaborator

@stelmo stelmo left a comment

Choose a reason for hiding this comment

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

Small things :) good job though!

src/memote/checks/Consistency.jl Outdated Show resolved Hide resolved
src/memote/checks/Consistency.jl Outdated Show resolved Hide resolved
src/memote/checks/Consistency.jl Outdated Show resolved Hide resolved
src/memote/checks/Consistency.jl Show resolved Hide resolved
src/memote/checks/Consistency.jl Outdated Show resolved Hide resolved
src/memote/checks/Consistency.jl Outdated Show resolved Hide resolved
src/memote/checks/Consistency.jl Outdated Show resolved Hide resolved
src/memote/checks/Consistency.jl Outdated Show resolved Hide resolved
src/memote/checks/Consistency.jl Outdated Show resolved Hide resolved
src/memote/utils.jl Outdated Show resolved Hide resolved
Fl-Sch and others added 7 commits October 27, 2022 15:41
made the suggested changes to find_disconnected_metabolites
Co-authored-by: Mirek Kratochvil <exa.exa@gmail.com>
changed to use config defaults and isapprox()
use COBREXA constants
added the internal helper function `_compare_flux_bounds` which will be used in `unbounded_flux_in_default_medium`
changed to use the helper function `_compare_flux_bounds`
@Fl-Sch
Copy link
Collaborator Author

Fl-Sch commented Nov 5, 2022

/format

@github-actions
Copy link

github-actions bot commented Nov 5, 2022

✔️ Auto-formatting triggered by this comment succeeded, commited as 3ccb851

@exaexa
Copy link
Collaborator

exaexa commented Nov 12, 2022

/format

@github-actions
Copy link

✔️ Auto-formatting triggered by this comment succeeded, commited as c9940eb

Copy link
Collaborator

@exaexa exaexa left a comment

Choose a reason for hiding this comment

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

looks good to me except the tests should pass (I guess committing the suggestions from the comments should fix it)

test/memote.jl Outdated Show resolved Hide resolved
test/memote.jl Outdated Show resolved Hide resolved
@exaexa exaexa mentioned this pull request Nov 12, 2022
2 tasks
test/memote.jl Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Nov 12, 2022

Codecov Report

Base: 95.27% // Head: 95.45% // Increases project coverage by +0.17% 🎉

Coverage data is based on head (d5d4e6b) compared to base (b818c0a).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #50      +/-   ##
==========================================
+ Coverage   95.27%   95.45%   +0.17%     
==========================================
  Files          16       16              
  Lines         572      594      +22     
==========================================
+ Hits          545      567      +22     
  Misses         27       27              
Impacted Files Coverage Δ
src/frog/io.jl 100.00% <ø> (ø)
src/memote/checks/Network.jl 100.00% <ø> (ø)
src/memote/checks/Consistency.jl 100.00% <100.00%> (ø)
src/memote/utils.jl 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Collaborator

@exaexa exaexa left a comment

Choose a reason for hiding this comment

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

ok nvm, managed to fix :]

@exaexa exaexa merged commit 3a4b5ef into LCSB-BioCore:master Nov 12, 2022
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.

5 participants