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

Add ability to call programmatically #6

Open
bhilbert4 opened this issue Sep 18, 2018 · 0 comments
Open

Add ability to call programmatically #6

bhilbert4 opened this issue Sep 18, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@bhilbert4
Copy link
Collaborator

Currently mkrefs.py can only be called from the command line, meaning that the location of mkrefs.py must be added to PATH if you want to be able to use it from anywhere. This somewhat defeats the purpose of installing the package.

Add the ability to call jwst_reffiles programmatically. Something along the lines of:

m = jwst_reffiles.mkrefs()
m.cfgfile = 'my_file.cfg'
m.run()

@bhilbert4 bhilbert4 self-assigned this Sep 18, 2018
@bhilbert4 bhilbert4 added the enhancement New feature or request label Sep 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant