Skip to content

Commit 08176fd

Browse files
Change all np.NaN to np.nan
1 parent bb4c063 commit 08176fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

calphy/postprocessing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def gather_results(mainfolder, reduce_composition=True,
121121
#print(inpfile)
122122
if not os.path.exists(outfile):
123123
datadict['status'].append('False')
124-
datadict['free_energy'].append(np.NaN)
124+
datadict['free_energy'].append(np.nan)
125125
#check if error file is found
126126
errfile = os.path.join(os.getcwd(), mainfolder, folder+'.sub.err')
127127
datadict['error_code'][-1] = _extract_error(errfile)

0 commit comments

Comments
 (0)