d:\program files\python37\lib\site-packages\h5py_hl\group.py in create_dataset(self, name, shape, dtype, data, **kwds)
138 if name is not None:
--> 139 self[name] = dset
140 return dset
d:\program files\python37\lib\site-packages\h5py_hl\group.py in setitem(self, name, obj)
372 if isinstance(obj, HLObject):
--> 373 h5o.link(obj.id, self.id, name, lcpl=lcpl, lapl=self._lapl)
374
h5py_objects.pyx in h5py._objects.with_phil.wrapper()
h5py_objects.pyx in h5py._objects.with_phil.wrapper()
h5py\h5o.pyx in h5py.h5o.link()
OSError: Unable to create link (name already exists)
The above exception was the direct cause of the following exception:
ad.write(filename='ab.h5') I used SCCAF but find this problem ,can you help me? thank you
OSError Traceback (most recent call last) d:\program files\python37\lib\site-packages\anndata_io\utils.py in func_wrapper(elem, key, val, *args, *kwargs) 187 try: --> 188 return func(elem, key, val, args, **kwargs) 189 except Exception as e:
d:\program files\python37\lib\site-packages\anndata_io\h5ad.py in write_series(group, key, series, dataset_kwargs) 265 dtype=h5py.special_dtype(vlen=str), --> 266 **dataset_kwargs, 267 )
d:\program files\python37\lib\site-packages\h5py_hl\group.py in create_dataset(self, name, shape, dtype, data, **kwds) 138 if name is not None: --> 139 self[name] = dset 140 return dset
d:\program files\python37\lib\site-packages\h5py_hl\group.py in setitem(self, name, obj) 372 if isinstance(obj, HLObject): --> 373 h5o.link(obj.id, self.id, name, lcpl=lcpl, lapl=self._lapl) 374
h5py_objects.pyx in h5py._objects.with_phil.wrapper()
h5py_objects.pyx in h5py._objects.with_phil.wrapper()
h5py\h5o.pyx in h5py.h5o.link()
OSError: Unable to create link (name already exists)
The above exception was the direct cause of the following exception: