Skip to content

Commit

Permalink
Update pygrams.py
Browse files Browse the repository at this point in the history
change path.join to os.path.join x2
  • Loading branch information
user624086 authored Jun 4, 2019
1 parent dc103fb commit b18fd34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pygrams.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def main(supplied_args):
# {'term1': [0,2,4,6], 'term2': [2,4,1,3]} 'term1', 0, 2, 4, 6
# 'term2', 2, 4, 1, 3
#
filename = path.join('outputs', 'emergence', args.outputs_name + '_' + emergence + '_time_series.csv')
filename = os.path.join('outputs', 'emergence', args.outputs_name + '_' + emergence + '_time_series.csv')
with open(filename, 'w') as f:
w = csv.writer(f)
for key, values in training_values:
Expand All @@ -241,7 +241,7 @@ def main(supplied_args):
</html>
'''

base_file_name = path.join('outputs', 'emergence', args.outputs_name + '_' + emergence)
base_file_name = os.path.join('outputs', 'emergence', args.outputs_name + '_' + emergence)

if args.normalised:
base_file_name += '_normalised'
Expand Down

0 comments on commit b18fd34

Please sign in to comment.