Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
barrOs
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
barrOs
Commits
49e2f6b4
Commit
49e2f6b4
authored
1 year ago
by
Joana Pereira
Browse files
Options
Downloads
Patches
Plain Diff
fixed issue with plotting when the parameter was not possible to compute
parent
47210967
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
barrOs.py
+5
-3
5 additions, 3 deletions
barrOs.py
with
5 additions
and
3 deletions
barrOs.py
+
5
−
3
View file @
49e2f6b4
...
@@ -52,9 +52,11 @@ if __name__ == '__main__':
...
@@ -52,9 +52,11 @@ if __name__ == '__main__':
if
len
(
pdbIDs
)
>
1
:
if
len
(
pdbIDs
)
>
1
:
for
param
in
data
.
columns
:
for
param
in
data
.
columns
:
if
'
mad
'
not
in
param
and
param
!=
'
PDBs
'
and
param
!=
'
TMsegm
'
:
if
'
mad
'
not
in
param
and
param
!=
'
PDBs
'
and
param
!=
'
TMsegm
'
:
barros
.
plot_parameter
(
'
TMsegm
'
,
param
,
data
.
loc
[
data
.
N_chains
==
1
],
fit_line
=
True
,
saveto
=
'
{}_{}_monomers.pdf
'
.
format
(
outf
.
split
(
'
.
'
)[
-
2
],
param
))
try
:
barros
.
plot_parameter
(
'
TMsegm
'
,
param
,
data
.
loc
[
data
.
N_chains
>
1
],
fit_line
=
True
,
saveto
=
'
{}_{}_multimers.pdf
'
.
format
(
outf
.
split
(
'
.
'
)[
-
2
],
param
))
barros
.
plot_parameter
(
'
TMsegm
'
,
param
,
data
.
loc
[
data
.
N_chains
==
1
],
fit_line
=
True
,
saveto
=
'
{}_{}_monomers.pdf
'
.
format
(
outf
.
split
(
'
.
'
)[
-
2
],
param
))
barros
.
plot_parameter
(
'
TMsegm
'
,
param
,
data
.
loc
[
data
.
N_chains
>
1
],
fit_line
=
True
,
saveto
=
'
{}_{}_multimers.pdf
'
.
format
(
outf
.
split
(
'
.
'
)[
-
2
],
param
))
except
:
print
(
'
ERROR: Not enough values to plot for
'
,
param
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment