CASMcode
CASMcode copied to clipboard
casm import reorders configs
When I use casm import -b
on a file, casm resorts the config names. This makes it difficult to preserve the config name between projects.
Example: I have enumerated SCELX/0 through SCELX/20 in a new casm project. Now i want to import these configs back into my original project. Despite sorting the config names in the batch file (sort -V
), they are imported in the order
SCELX/0 SCELX/1 SCELX/10 SCELX/11 ...
which means that config 10 become config 2, config 11 becomes config 3, and so on. Although what I am doing may be an edge case, I think that casm import
should respect the order of the configs that it is given.
Thanks for the comment. We haven't tried to support keeping names across project before, but I'll think about if there is a way to support this.