Skip to content

Commit

Permalink
test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick-prog committed Jul 23, 2024
1 parent 2b07f85 commit 993c284
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
from .structure import *
from .process import *
from .syntax import *

from .test import *

__author__ = 'Nickolas Rodriguez'
8 changes: 5 additions & 3 deletions core/structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down Expand Up @@ -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]}'

Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit 993c284

Please sign in to comment.