Skip to content

Commit 993c284

Browse files
committed
test.py
1 parent 2b07f85 commit 993c284

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

core/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
from .structure import *
44
from .process import *
55
from .syntax import *
6-
6+
from .test import *
77

88
__author__ = 'Nickolas Rodriguez'

core/structure.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def translate(self) -> list:
6868
self.target[-1] = str(self.target[-1]).replace('\\', '')
6969

7070
_translate = {
71-
'ATV': self.translate_ATV(),
71+
'ATV': None,
7272
'BGN': "********** START OF APPLICATION **********",
7373
'COM': self.translate_COM(),
7474
'CRS': self.translate_CRS(),
@@ -301,6 +301,8 @@ def translate_DTP(self) -> str:
301301

302302
if sep == 'Issued':
303303
return f'{sep}: {date[4:6]}-{date[6:8]}-{date[:4]}'
304+
elif sep == 'Start' or sep == 'End':
305+
return
304306
else:
305307
return f'{sep}: {date[4:6]}-{date[:4]}'
306308

@@ -440,7 +442,7 @@ def translate_N1(self) -> str:
440442
if sep == 'High School Info':
441443
return f'{sep}: {self.target[2]} {last}'
442444
elif sep == 'Date':
443-
return f'{sep}: {last}'
445+
return
444446
elif sep == 'Organization':
445447
return f'{sep}: {last}'
446448
else:
@@ -581,7 +583,7 @@ def translate_REF(self) -> str:
581583

582584
_tranlsate = {
583585
'FFRESHMAN APPLICATION ID': 'U.S. Freshman Admission',
584-
'IFOREIGN GRAD APPLICATION ID': 'Interanational Graduate Admission',
586+
'IFOREIGN GRAD APPLICATION ID': 'International Graduate Admission',
585587
'CREENTRY UNDERGRAD APPLICATION ID': 'U.S. Re-Entry Admission',
586588
'GUS GRAD APPLICATION ID': 'U.S. Graduate Admission',
587589
'TUS TRANSFER APPLICATION ID': 'U.S. Transfer Admission',

0 commit comments

Comments
 (0)