spirit-code / spirit

Atomistic Spin Simulation Framework
http://spirit-code.github.io
MIT License
117 stars 52 forks source link

loading spin chain does not replace the first image #242

Closed SpiritSuperUser closed 7 years ago

SpiritSuperUser commented 7 years ago

when a spin chain file is read in, the first image is kept and the chain is appended. If more than one image were present, all but the first are deleted/replaced.

Logfile:

2017-06-06 22:19:01 [ INFO ] [IO ] [--] [--] Reading SpinChain File /Users/mhoff/spirit/spirit/calculations/racetrack/paper/collapse/set2/ASk/chain.txt 2017-06-06 22:19:01 [WARNING] [IO ] [--] [--] NOI(file) = 1 > NOI(chain) = 1 2017-06-06 22:19:01 [WARNING] [IO ] [--] [--] NOI(file) = 1 > NOI(chain) = 1. Appending image 2 2017-06-06 22:19:01 [WARNING] [IO ] [--] [--] NOI(file) = 2 > NOI(chain) = 2 2017-06-06 22:19:01 [WARNING] [IO ] [--] [--] NOI(file) = 2 > NOI(chain) = 2. Appending image 3

GPMueller commented 7 years ago

Fixed with 5927c5e86cff163242c08c4b2e3da8bcd86e576a.

SpiritSuperUser commented 7 years ago

this bug is not fixed in the develop version!

GPMueller commented 7 years ago

Fixed once more with 7df6026018ba68259f3ec8cdfff581b3c4e51d2e.