diff --git a/core/__init__.py b/core/__init__.py index 4c7d730..388d760 100644 --- a/core/__init__.py +++ b/core/__init__.py @@ -3,6 +3,6 @@ from .structure import * from .process import * from .syntax import * - +from .test import * __author__ = 'Nickolas Rodriguez' \ No newline at end of file diff --git a/core/structure.py b/core/structure.py index e250b9e..4bb8fbd 100644 --- a/core/structure.py +++ b/core/structure.py @@ -68,7 +68,7 @@ def translate(self) -> list: self.target[-1] = str(self.target[-1]).replace('\\', '') _translate = { - 'ATV': self.translate_ATV(), + 'ATV': None, 'BGN': "********** START OF APPLICATION **********", 'COM': self.translate_COM(), 'CRS': self.translate_CRS(), @@ -301,6 +301,8 @@ def translate_DTP(self) -> str: if sep == 'Issued': return f'{sep}: {date[4:6]}-{date[6:8]}-{date[:4]}' + elif sep == 'Start' or sep == 'End': + return else: return f'{sep}: {date[4:6]}-{date[:4]}' @@ -440,7 +442,7 @@ def translate_N1(self) -> str: if sep == 'High School Info': return f'{sep}: {self.target[2]} {last}' elif sep == 'Date': - return f'{sep}: {last}' + return elif sep == 'Organization': return f'{sep}: {last}' else: @@ -581,7 +583,7 @@ def translate_REF(self) -> str: _tranlsate = { 'FFRESHMAN APPLICATION ID': 'U.S. Freshman Admission', - 'IFOREIGN GRAD APPLICATION ID': 'Interanational Graduate Admission', + 'IFOREIGN GRAD APPLICATION ID': 'International Graduate Admission', 'CREENTRY UNDERGRAD APPLICATION ID': 'U.S. Re-Entry Admission', 'GUS GRAD APPLICATION ID': 'U.S. Graduate Admission', 'TUS TRANSFER APPLICATION ID': 'U.S. Transfer Admission',