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

Define line numbers for functions defined using required macro #28

Merged
merged 2 commits into from
Oct 8, 2024

Conversation

oxinabox
Copy link
Contributor

@oxinabox oxinabox commented Oct 8, 2024

That was a bit tricky, but I got there in the end.

julia> using AbstractFBCModels
[ Info: Precompiling AbstractFBCModels [5a4f3dfa-1789-40f8-8221-69268c29937c]

julia> AbstractFBCModels.required_accessors()
[1] reactions(a::AbstractFBCModels.AbstractFBCModel) @ AbstractFBCModels ~/repos/AbstractFBCModels.jl/src/accessors.jl:13
[2] n_reactions(a::AbstractFBCModels.AbstractFBCModel) @ AbstractFBCModels ~/repos/AbstractFBCModels.jl/src/accessors.jl:22
[3] metabolites(a::AbstractFBCModels.AbstractFBCModel) @ AbstractFBCModels ~/repos/AbstractFBCModels.jl/src/accessors.jl:32
[4] n_metabolites(a::AbstractFBCModels.AbstractFBCModel) @ AbstractFBCModels ~/repos/AbstractFBCModels.jl/src/accessors.jl:42
[5] genes(a::AbstractFBCModels.AbstractFBCModel) @ AbstractFBCModels ~/repos/AbstractFBCModels.jl/src/accessors.jl:52
[6] n_genes(a::AbstractFBCModels.AbstractFBCModel) @ AbstractFBCModels ~/repos/AbstractFBCModels.jl/src/accessors.jl:63
[7] stoichiometry(a::AbstractFBCModels.AbstractFBCModel) @ AbstractFBCModels ~/repos/AbstractFBCModels.jl/src/accessors.jl:97
[8] bounds(a::AbstractFBCModels.AbstractFBCModel) @ AbstractFBCModels ~/repos/AbstractFBCModels.jl/src/accessors.jl:115
[9] objective(a::AbstractFBCModels.AbstractFBCModel) @ AbstractFBCModels ~/repos/AbstractFBCModels.jl/src/accessors.jl:140
[10] reaction_stoichiometry(a::AbstractFBCModels.AbstractFBCModel, reaction_id::String) @ AbstractFBCModels ~/repos/AbstractFBCModels.jl/src/accessors.jl:191
[11] save(a::AbstractFBCModels.AbstractFBCModel, path::String) @ AbstractFBCModels ~/repos/AbstractFBCModels.jl/src/io.jl:16

help?> AbstractFBCModels.save
  Save a model to the given path.

@exaexa
Copy link
Member

exaexa commented Oct 8, 2024

/format

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (a2e4441) to head (70c76d1).
Report is 5 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #28   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            5         5           
  Lines          267       291   +24     
=========================================
+ Hits           267       291   +24     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Oct 8, 2024

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

@exaexa exaexa merged commit f5503b2 into COBREXA:master Oct 8, 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.

3 participants