ERROR get_atoms from depletion result

Hi, everyone, I get an error when trying to get get atom. Can someone tell me what part I’m having problems with?
`import numpy as np
import matplotlib.pyplot as plt
import openmc.deplete
import openmc
import pandas as pd

time_units=‘d’
results = openmc.deplete.ResultsList.from_hdf5(‘./home/OPENMC/Teras/10%/depletion_results.h5’)
time, k = results.get_keff(time_units)

############# U233 ###########################
data_u233 =
for i in range(1, 8):
for i in id :
_time, u233 = results.get_atoms( str(i),“U233”,“atom/b-cm”)
data_u233.append(u233)
data_U233 = pd.DataFrame(list(map(np.ravel, data_u233)) )
data_U233.to_excel(‘Data U233.xlsx’)
`

I get an error in results = openmc.deplete.ResultsList.from_hdf5(‘./home/OPENMC/Teras/10%/depletion_results.h5’)

TypeError: init() takes 1 positional argument but 2 were given

Hai MAKurniawan, welcome to openmc community.
Sorry if I didn’t get to what you want, but I am using openmc.deplete.Results("./depletion_results.h5") when I want to get some info from the depletion results, including the atomic density of each depleteable materials.

This notebook might be helpful for you