mommermi / photometrypipeline

automated photometry pipeline for small to medium-sized observatories
GNU General Public License v3.0
62 stars 26 forks source link

Comet target filenames #20

Closed mkelley closed 7 years ago

mkelley commented 7 years ago

Comet designations can have '/', which is not good for file names. I have edited the code to use the translate function with a single variable that is defined in _pp_conf.py. It translates '/' and ' ' to '_'. This way, if you'd like to translate other characters (maybe parentheses?), only this one file needs to be edited. Please verify that I have replaced all of the correct replace() calls with translate().

mommermi commented 7 years ago

Good point! Thanks, Mike!