Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mrdna
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
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
tbgl
tools
mrdna
Commits
5abfe0de
Commit
5abfe0de
authored
7 months ago
by
pinyili2
Browse files
Options
Downloads
Patches
Plain Diff
add
parent
bf27f34c
No related branches found
No related tags found
1 merge request
!1
Pinyili2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mrdna/readers/segmentmodel_from_lists.py
+3
-3
3 additions, 3 deletions
mrdna/readers/segmentmodel_from_lists.py
with
3 additions
and
3 deletions
mrdna/readers/segmentmodel_from_lists.py
+
3
−
3
View file @
5abfe0de
...
...
@@ -234,7 +234,7 @@ def model_from_basepair_stack_3prime(coordinate, basepair, stack, three_prime,
max_basepairs_per_bead
=
5
,
max_nucleotides_per_bead
=
5
,
local_twist
=
False
,
dimensions
=
(
5000
,
5000
,
5000
)
dimensions
=
(
5000
,
5000
,
5000
)
,
**
model_parameters
):
"""
Creates a SegmentModel object from lists of each nucleotide
'
s
...
...
@@ -486,7 +486,7 @@ def model_from_pandas(df,coordinate_col="r",bp_col="bp",stack_col="stack",three_
max_nucleotides_per_bead
=
5
,
local_twist
=
False
,
dimensions
=
(
5000
,
5000
,
5000
)
**
model_parameters
):
,
**
model_parameters
):
try
:
c
=
df
[
coordinate_col
]
except
:
...
...
@@ -527,7 +527,7 @@ def model_from_pandas(df,coordinate_col="r",bp_col="bp",stack_col="stack",three_
max_basepairs_per_bead
=
max_basepairs_per_bead
,
max_nucleotides_per_bead
=
max_nucleotides_per_bead
,
local_twist
=
local_twist
,
dimensions
=
dimensions
dimensions
=
dimensions
,
**
model_parameters
)
return
model
except
:
...
...
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