Skip to content

Commit

Permalink
fix the prepare_dataset issue
Browse files Browse the repository at this point in the history
  • Loading branch information
minhuanli committed Aug 26, 2024
1 parent 923cc65 commit 92b564c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SFC_Torch/Fmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -1419,8 +1419,8 @@ def prepare_dataset(self, HKL_attr: str, F_attr: str):
dataset["L"] = HKL_out[:, 2]
dataset["FMODEL"] = assert_numpy(F_out_mag)
dataset["PHIFMODEL"] = assert_numpy(F_out_phase)
dataset["FMODEL_COMPLEX"] = assert_numpy(F_out)
dataset.set_index(["H", "K", "L"], inplace=True)
dataset.infer_mtz_dtypes(inplace=True)
return dataset

def savePDB(self, outname: str):
Expand Down

0 comments on commit 92b564c

Please sign in to comment.