adding __main__ function to qc-lightrad
@@ -646,6 +646,7 @@ def read_dicom(filenm, ioptn):
pdf.savefig(fig2)
+if __name__ == "__main__":
while True: # example of infinite loops using try and except to catch only numbers
line = input("Are these files from a clinac [yes(y)/no(n)]> ")
try:
