From 72cb8b199c31e4ba9620f99c46ffd4cd9e0cb6ec Mon Sep 17 00:00:00 2001 From: Andrew Jewett Date: Sat, 28 Mar 2020 10:55:17 -0700 Subject: [PATCH] corrected a typo in the dsDNA example. (...specifically the tools that were included to estimate the persistence length. The dsDNA example itself is fine.) --- .../measure_persistence_length/merge_lines_periodic.py | 4 ++-- .../measure_persistence_length/raw2subtractlines.py | 2 +- .../merge_lines_periodic.py | 4 ++-- .../measure_torsional_persistence_length/raw2subtractlines.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/coarse_grained/DNA_models/dsDNA/2strands/dsDNA_2beads=3bp_2019-10-19/measure_persistence_length/merge_lines_periodic.py b/examples/coarse_grained/DNA_models/dsDNA/2strands/dsDNA_2beads=3bp_2019-10-19/measure_persistence_length/merge_lines_periodic.py index 14029bd5..dc71cb43 100755 --- a/examples/coarse_grained/DNA_models/dsDNA/2strands/dsDNA_2beads=3bp_2019-10-19/measure_persistence_length/merge_lines_periodic.py +++ b/examples/coarse_grained/DNA_models/dsDNA/2strands/dsDNA_2beads=3bp_2019-10-19/measure_persistence_length/merge_lines_periodic.py @@ -6,8 +6,8 @@ g_program_name = g_filename if g_filename.rfind('.py') != -1: g_module_name = g_filename[:g_filename.rfind('.py')] -g_date_str = '2017-2-12' -g_version_str = '0.2' +g_date_str = '2020-1-19' +g_version_str = '0.3.0' diff --git a/examples/coarse_grained/DNA_models/dsDNA/2strands/dsDNA_2beads=3bp_2019-10-19/measure_persistence_length/raw2subtractlines.py b/examples/coarse_grained/DNA_models/dsDNA/2strands/dsDNA_2beads=3bp_2019-10-19/measure_persistence_length/raw2subtractlines.py index 092b3cab..dd01e783 100755 --- a/examples/coarse_grained/DNA_models/dsDNA/2strands/dsDNA_2beads=3bp_2019-10-19/measure_persistence_length/raw2subtractlines.py +++ b/examples/coarse_grained/DNA_models/dsDNA/2strands/dsDNA_2beads=3bp_2019-10-19/measure_persistence_length/raw2subtractlines.py @@ -109,7 +109,7 @@ def ProcessStructure(x_id, normalize=False): # x_d contains the coordinates read from the # most recent line in the current frame - x_d = map(float, tokens) + x_d = list(map(float, tokens)) x_id.append(x_d) if len(x_id) > 0: diff --git a/examples/coarse_grained/DNA_models/dsDNA/2strands/dsDNA_2beads=3bp_2019-10-19/measure_torsional_persistence_length/merge_lines_periodic.py b/examples/coarse_grained/DNA_models/dsDNA/2strands/dsDNA_2beads=3bp_2019-10-19/measure_torsional_persistence_length/merge_lines_periodic.py index 14029bd5..dc71cb43 100755 --- a/examples/coarse_grained/DNA_models/dsDNA/2strands/dsDNA_2beads=3bp_2019-10-19/measure_torsional_persistence_length/merge_lines_periodic.py +++ b/examples/coarse_grained/DNA_models/dsDNA/2strands/dsDNA_2beads=3bp_2019-10-19/measure_torsional_persistence_length/merge_lines_periodic.py @@ -6,8 +6,8 @@ g_program_name = g_filename if g_filename.rfind('.py') != -1: g_module_name = g_filename[:g_filename.rfind('.py')] -g_date_str = '2017-2-12' -g_version_str = '0.2' +g_date_str = '2020-1-19' +g_version_str = '0.3.0' diff --git a/examples/coarse_grained/DNA_models/dsDNA/2strands/dsDNA_2beads=3bp_2019-10-19/measure_torsional_persistence_length/raw2subtractlines.py b/examples/coarse_grained/DNA_models/dsDNA/2strands/dsDNA_2beads=3bp_2019-10-19/measure_torsional_persistence_length/raw2subtractlines.py index 092b3cab..dd01e783 100755 --- a/examples/coarse_grained/DNA_models/dsDNA/2strands/dsDNA_2beads=3bp_2019-10-19/measure_torsional_persistence_length/raw2subtractlines.py +++ b/examples/coarse_grained/DNA_models/dsDNA/2strands/dsDNA_2beads=3bp_2019-10-19/measure_torsional_persistence_length/raw2subtractlines.py @@ -109,7 +109,7 @@ def ProcessStructure(x_id, normalize=False): # x_d contains the coordinates read from the # most recent line in the current frame - x_d = map(float, tokens) + x_d = list(map(float, tokens)) x_id.append(x_d) if len(x_id) > 0: