Skip to content

Commit

Permalink
equilibration fix
Browse files Browse the repository at this point in the history
  • Loading branch information
schallerdavid committed May 15, 2019
1 parent 84f44f2 commit a2cd034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyrod_lib/extras.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def dmif_equilibration(dmif_paths, feature_name, cutoff):
differences = [0]
for index in range(1, len(dmif_paths)):
with open(dmif_paths[index], 'rb') as file:
dmif2 = pickle.load()
dmif2 = pickle.load(file)
feature_difference = np.absolute(dmif1[feature_name] - dmif2[feature_name])
differences.append(len(np.where(feature_difference > cutoff)[0]) / len(feature_difference))
return differences

0 comments on commit a2cd034

Please sign in to comment.