Last active
December 4, 2020 13:55
-
-
Save bougui505/f0b3474ab37ceb145b2d895e49f379d9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: UTF8 -*- | |
# Author: Guillaume Bouvier -- guillaume.bouvier@pasteur.fr | |
# https://research.pasteur.fr/en/member/guillaume-bouvier/ | |
# 2019-05-21 10:28:39 (UTC+0200) | |
import sys | |
import mrcfile | |
filename = sys.argv[1] | |
mrc = mrcfile.open(filename) | |
for field in mrc.header.dtype.names: | |
print(repr(field)+": "+repr(mrc.header[field])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment