Skip to content

Cleaning: too wordy pass

Don't use pass if you don't really need it.

            if os.path.exists(path_for_saving+"host_star_properties.txt"):
                pass
            else:
                ...

This can be done like:

if not os.path.exists(path_for_saving+"host_star_properties.txt"):
   ...