timothygrant80 / cisTEM

Other
32 stars 27 forks source link

Write cisTEM version into MRC file header #355

Open jojoelfe opened 2 years ago

jojoelfe commented 2 years ago

In order to leave a track record which version results were obtained it would be nice if we could store the CISTEM_VERSION_TEXT in the header of MRC files written by cisTEM. For example, this would be helpful to keep track of which iteration of match_template template-matching results are derived from.

There are two option to place CISTEM_VERSION_TEXT:

  1. Store in one of the LABEL fields in bytes 225-1024 (limited to 80 characters)
  2. Make use of the extended header
bHimes commented 2 years ago

great idea! From what I can tell, the extended header is a bit of a mess w.r.t. other packages. Using the labels ought to be okay. I'm pretty sure the are overwritten in a first in last out approach by imod