ERROR: ga/basic_example_main_run.py ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/askhl/src/ase/ase/test/__init__.py", line 51, in testfile exec(compile(fd.read(), self.filename, 'exec'), {}) File "/home/askhl/src/ase/ase/test/ga/basic_example_main_run.py", line 83, in write('all_candidates.traj', da.get_all_relaxed_candidates()) File "/home/askhl/src/ase/ase/io/formats.py", line 230, in write _write(filename, fd, format, io, images, **kwargs) File "/home/askhl/src/ase/ase/io/formats.py", line 266, in _write io.write(filename, images, **kwargs) File "/home/askhl/src/ase/ase/io/trajectory.py", line 341, in write_traj trj.write(atoms) File "/home/askhl/src/ase/ase/io/trajectory.py", line 152, in write write_atoms(b, atoms, write_header=(len(b) == 0)) File "/home/askhl/src/ase/ase/io/trajectory.py", line 308, in write_atoms numbers=atoms.numbers) File "/home/askhl/src/ase/ase/io/ulm.py", line 268, in write self.fill(value) File "/home/askhl/src/ase/ase/io/ulm.py", line 206, in fill a.tofile(self.fd) IOError: first argument must be an open file