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

Python dependency for FITS file generation. #5

Open
hbelatikar opened this issue Jul 12, 2021 · 2 comments
Open

Python dependency for FITS file generation. #5

hbelatikar opened this issue Jul 12, 2021 · 2 comments

Comments

@hbelatikar
Copy link
Owner

After event data is collected, the system invokes the python script "convertFITS.py". This script also has dependencies on 'numpy' as well as 'astropy'. Code should be developed to check these settings and allow the user to install them during runtime if needed.

@abunickabhi
Copy link
Collaborator

abunickabhi commented Jul 27, 2021

I guess the code to check this setting whether the user's system has numpy and astropy or not, will be a shell script.

In the first event data collection run, the shell script will have to be run in LabVIEW. Will have to figure it out.

@hbelatikar
Copy link
Owner Author

Yes! you can look up how I open .csv files using the command prompt to see how shell scripting is done.
You can do this check when the program starts up.
Also you can show a window prompt to the user stating that 'numpy or astropy is not installed so the fits file will not be generated'.

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