Skip to content

Commit

Permalink
Removed a Commented Section
Browse files Browse the repository at this point in the history
Removed a no longer needed comment section from the code. Used in an older version of the code before being integrated into the rest.
  • Loading branch information
kjkoeller committed Aug 30, 2022
1 parent 9a92254 commit 10ac3d6
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions cousins_R.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
Author: Kyle Koeller
Created: 4/13/2022
Last Updated: 7/5/2022
Last Updated: 8/29/2022
Based on this paper: https://arxiv.org/pdf/astro-ph/0609736.pdf
This program calculates a Cousins R (R_c) filter band value from a given Johnson V and B, and g' and r'.
Expand All @@ -25,20 +25,7 @@ def main():
beta = 1.321
e_beta = 0.03
gamma = 0.219

"""
# import file from Catalog Finder or Catalog Comparison
input_file = input("Enter the text file name from Catalog Finder or Catalog Comparison: ")
try:
# checks whether the file/path is real or not
with open(input_file) as f:
print("File loaded.")
print()
except IOError:
# prints off the reason for closing the program
print("File not accessible. Please restart program and enter a valid file name/path.")
exit()
"""

input_file = apass.main()
df = pd.read_csv(input_file, header=None, skiprows=[0], sep=",")

Expand Down

0 comments on commit 10ac3d6

Please sign in to comment.