Skip to content

Commit

Permalink
update to run
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason DeBacker authored and Jason DeBacker committed Mar 22, 2017
1 parent 8e0aad3 commit a603790
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Python/run_ogusa_serial.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,13 @@ def run_micro_macro(user_params):
output_base = BASELINE_DIR
input_dir = BASELINE_DIR
kwargs={'output_base':output_base, 'baseline_dir':BASELINE_DIR,
'test':False, 'time_path':True, 'baseline':True, 'analytical_mtrs':False, 'age_specific':True,
'test':True, 'time_path':True, 'baseline':True, 'analytical_mtrs':False, 'age_specific':True,
'user_params':user_params,'guid':'',
'run_micro':False, 'small_open': False, 'budget_balance':False}
#p1 = Process(target=runner, kwargs=kwargs)
#p1.start()
runner(**kwargs)
# quit()


'''
Expand All @@ -89,14 +90,15 @@ def run_micro_macro(user_params):
input_dir = REFORM_DIR
guid_iter = 'reform_' + str(0)
kwargs={'output_base':output_base, 'baseline_dir':BASELINE_DIR,
'test':False, 'time_path':True, 'baseline':False, 'analytical_mtrs':False, 'age_specific':True,
'test':True, 'time_path':True, 'baseline':False, 'analytical_mtrs':False, 'age_specific':True,
'user_params':user_params,'guid':'',
'reform':reform , 'run_micro':False, 'small_open': False, 'budget_balance': False}
#p2 = Process(target=runner, kwargs=kwargs)
#p2.start()
runner(**kwargs)



# output_base = REFORM_DIR
# input_dir = REFORM_DIR
# guid_iter = 'reform_' + str(0)
Expand All @@ -121,7 +123,7 @@ def run_micro_macro(user_params):
ans = postprocess.create_diff(baseline_dir=BASELINE_DIR, policy_dir=REFORM_DIR)

print "total time was ", (time.time() - start_time)
print ans
print 'Percentage changes in aggregates:', ans

# return ans

Expand Down

0 comments on commit a603790

Please sign in to comment.