tessgi / tvguide

A tool for determining whether stars and galaxies are observable by TESS.
MIT License
4 stars 4 forks source link

Add functions to use tvguide within a Python script #2

Closed jradavenport closed 7 years ago

jradavenport commented 7 years ago

Since the tvguide and tvguide_csv functions can't take arguments from within a Python script, I created stupid new versions of them.

Or if this is not an appealing solution, perhaps those main methods could be reworked to alternatively accept inputs directly w/o argparse?

mrtommyb commented 7 years ago

This looks like a good idea. Thanks. I might adjust them a little so that instead of printing things they return the information that would be printed. That way you can print them inside a script if that's desired

mrtommyb commented 7 years ago

However, i don't see any reason not to merge now and change the functionality later