Skip to content

Commit

Permalink
template in same directory as calculations.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordi Ribas committed May 10, 2021
1 parent 558ae5e commit aed09b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiida_spirit/calculations.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def modify_line(my_string, new_value): # gets a line and the new parameter valu
return ret_str

new_dict = {}
f_orig = open('data/input_original.cfg','r')
f_orig = open('input_original.cfg','r')
for num, line in enumerate(f_orig, 1):
new_dict[num] = line # create dictionary with keys=line_number and values=line_text

Expand Down

0 comments on commit aed09b5

Please sign in to comment.