Mercurial > repos > chemteam > mdanalysis_distance
comparison dihedrals.py @ 1:2b1434ec8c7e draft
planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 9b44a37fc1a0c338693f54eaf52b582439ca9f0c
author | chemteam |
---|---|
date | Thu, 20 Dec 2018 06:48:23 -0500 |
parents | c33b972fe040 |
children | 489b25966bb9 |
comparison
equal
deleted
inserted
replaced
0:c33b972fe040 | 1:2b1434ec8c7e |
---|---|
6 | 6 |
7 import MDAnalysis as mda | 7 import MDAnalysis as mda |
8 from MDAnalysis.lib.distances import calc_dihedrals | 8 from MDAnalysis.lib.distances import calc_dihedrals |
9 | 9 |
10 import matplotlib | 10 import matplotlib |
11 matplotlib.use('Agg') # noqa | |
11 import matplotlib.pyplot as plt | 12 import matplotlib.pyplot as plt |
12 | 13 |
13 import numpy as np | 14 import numpy as np |
14 | |
15 matplotlib.use('Agg') | |
16 | 15 |
17 | 16 |
18 def parse_command_line(argv): | 17 def parse_command_line(argv): |
19 parser = argparse.ArgumentParser() | 18 parser = argparse.ArgumentParser() |
20 parser.add_argument('--idcd', help='input dcd') | 19 parser.add_argument('--idcd', help='input dcd') |