IMP  2.0.0
The Integrative Modeling Platform
view_density_header.py
1 #!/usr/bin/env python
2 
3 import IMP.em
4 
5 def main():
6  IMP.base.set_log_level(IMP.base.SILENT)
7  usage = "%prog [options] <em map> "
8  parser = IMP.OptionParser(usage=usage, imp_module=IMP.em)
9  (options, args) = parser.parse_args()
10  if len(args) != 1:
11  parser.error("incorrect number of arguments")
12  map_fn=args[0]
13  dmap=IMP.em.read_map(map_fn)
14  dmap.get_header().show()
15 
16 if __name__ == "__main__":
17  main()