Skip to content

Commit

Permalink
use default test config
Browse files Browse the repository at this point in the history
  • Loading branch information
taigw committed Jan 12, 2018
1 parent fc7fbd3 commit 841addc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,11 +450,11 @@ def test(config_file):
sess.close()

if __name__ == '__main__':
if(len(sys.argv) != 2):
print('Number of arguments should be 2. e.g.')
print(' python test.py config.txt')
exit()
config_file = str(sys.argv[1])
# if(len(sys.argv) != 2):
# print('Number of arguments should be 2. e.g.')
# print(' python test.py config.txt')
# exit()
config_file = './test_data.txt'
assert(os.path.isfile(config_file))
test(config_file)

Expand Down

0 comments on commit 841addc

Please sign in to comment.