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

take out the go-lego import statement #5

Open
goodb opened this issue Aug 31, 2020 · 1 comment
Open

take out the go-lego import statement #5

goodb opened this issue Aug 31, 2020 · 1 comment

Comments

@goodb
Copy link

goodb commented Aug 31, 2020

See geneontology/minerva#345 the import is no longer desired for go-cams in the noctua/minerva environment.

@dustine32
Copy link

Yep, as @balhoff discovered, there's a convenient option choosing whether or not to add the imports statement for go-lego:

var no_imports = opt[Boolean](abbrev = "ni", description = "No imports", default = true)

It looks like the default value of True should prevent the imports from being added but this value is passed into this add_import_statement parameter:
class LegoModel (val jmodel : Json, val GO : BrainScowl, add_import_statement: Boolean) {

Which would make True mean DO add the imports line. Will need to clarify how this works, maybe even take the whole imports feature out.

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

No branches or pull requests

2 participants