aflux / neutrino

A light, expandable and full featured image analysis tool for research
10 stars 1 forks source link

phys_from_name and phys_name preservation in .neu load #14

Open aflux opened 10 years ago

aflux commented 10 years ago

Informations in fields phys_from_name and phys_name are correctly saved, eg:

@@ phys_properties origin = (143.322:290.227) phys_from_name = /home/alex/DEVEL/neutrino-newneus/neutrino/nPhysImage/testinterf.txt phys_name = testinterf.txt phys_orig = phys_file phys_short_name = testinterf.txt scale = (0.123:0.123) @@ end

However, when reloading the .neu file, phys_from_name and phys_name are overwritten by the .neu filename.

I think this is the correct behavior, but original name should be preserved somehow (yet avoiding the loop name->old_name->old_old_name->[..]