Skip to content

Commit

Permalink
update all forces converters to use the word 'forces' instead some us…
Browse files Browse the repository at this point in the history
…ing 'force'
  • Loading branch information
ErikPoppleton committed Dec 11, 2024
1 parent 57ff94f commit 8c1060b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion analysis/oat-completion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ _oat_completions(){
fi


COMPREPLY=($(compgen -W "align anm_parameterize backbone_flexibility bond_analysis centroid clustering config contact_map db_to_force decimate deviations distance duplex_angle_plotter duplex_finder file_info forces2pairs generate_force mean minify multidimensional_scaling_mean output_bonds oxDNA_PDB pca persistence_length plot_energy subset_trajectory superimpose" "${COMP_WORDS[COMP_CWORD]}"))
COMPREPLY=($(compgen -W "align anm_parameterize backbone_flexibility bond_analysis centroid clustering config contact_map db2forces decimate deviations distance duplex_angle_plotter duplex_finder file_info forces2pairs generate_forces mean minify multidimensional_scaling_mean output_bonds oxDNA_PDB pca persistence_length plot_energy subset_trajectory superimpose" "${COMP_WORDS[COMP_CWORD]}"))
}

complete -F _oat_completions oat
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def db_to_forcelist(db_str:str, stiff:float, reverse:bool, r0:float=1.2, PBC:boo

return force_list

def cli_parser(prog="db_to_force.py"):
def cli_parser(prog="db2forces.py"):
parser = argparse.ArgumentParser(prog = prog, description="Create an external forces file enforcing the current base-pairing arrangement")
parser.add_argument('db_file', type=str, nargs=1, help="A text file containing dot-bracket notation of the base-pairing arrangement")
parser.add_argument('-o', '--output', type=str, nargs=1, help='Name of the file to write the force list to')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from oxDNA_analysis_tools.UTILS.logger import log, logger_settings
import oxpy

def cli_parser(prog="generate_force.py"):
def cli_parser(prog="generate_forces.py"):
parser = argparse.ArgumentParser(prog = prog, description="Create an external forces file enforcing the current base-pairing arrangement")
parser.add_argument('inputfile', type=str, nargs=1, help="The inputfile used to run the simulation")
parser.add_argument('configuration', type=str, nargs=1, help="The configuration to generate the forces from")
Expand Down

0 comments on commit 8c1060b

Please sign in to comment.