Skip to content

Commit

Permalink
pklfile now as sys.argv instead of hard-coded
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Simkovic committed Jul 31, 2017
1 parent 0a62194 commit a851011
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ample/util/pyrvapi_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,8 @@ def results_section(self, results_tab_id, mrb_results, ensemble_results, section
return

if __name__ == "__main__":
import copy, time
pklfile = "resultsd.pkl"
import copy, sys, time
pklfile = sys.argv[1]
ample_dict = ample_util.read_amoptd(pklfile)

ample_dict['no_gui'] = False
Expand Down

0 comments on commit a851011

Please sign in to comment.