Unverified Commit ca1e1e2d authored by Eisuke Kawashima's avatar Eisuke Kawashima
Browse files

Convert British spelling to American

parent 5109b7f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ usually faster than using tools like Valgrind.
.. code-block:: bash

   -D ENABLE_SANITIZE_ADDRESS=value    # enable Address Sanitizer, value = no (default) or yes
   -D ENABLE_SANITIZE_UNDEFINED=value  # enable Undefined Behaviour Sanitizer, value = no (default) or yes
   -D ENABLE_SANITIZE_UNDEFINED=value  # enable Undefined Behavior Sanitizer, value = no (default) or yes
   -D ENABLE_SANITIZE_THREAD=value     # enable Thread Sanitizer, value = no (default) or yes

----------
+5 −5
Original line number Diff line number Diff line
@@ -373,7 +373,7 @@ def generate_strand(bp, sequence=None, start_pos=np.array([0, 0, 0]), \
    # if not provided switch off random orientation
    if perp is None or perp is False:
        v1 = np.random.random_sample(3)
        # comment in to suppress randomised base vector
        # comment in to suppress randomized base vector
        v1 = [1,0,0]
        v1 -= dir * (np.dot(dir, v1))
        v1 /= np.sqrt(sum(v1*v1))
@@ -644,12 +644,12 @@ def read_strands(filename):

            # generate random position of the first nucleotide
            com = box_offset + np.random.random_sample(3) * box
            # comment out to randomise
            # comment out to randomize
            com = [0,0,0]

            # generate the random direction of the helix 
            axis = np.random.random_sample(3)
            # comment out to randomise
            # comment out to randomize
            axis = [0,0,1]
            axis /= np.sqrt(np.dot(axis, axis))

@@ -702,12 +702,12 @@ def read_strands(filename):

	    # generate random position of the first nucleotide
            com = box_offset + np.random.random_sample(3) * box
            # comment out to randomise
            # comment out to randomize
            com = [-30,0,0]

            # generate the random direction of the helix 
            axis = np.random.random_sample(3)
            # comment out to randomise
            # comment out to randomize
            axis = [0,0,1]
            axis /= np.sqrt(np.dot(axis, axis))

+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ set object 1 rectangle from graph 0,0 to graph 1,1 fillcolor rgb "white" behind
unset key
set grid front

set title 'Short time behaviour' offset 0,-0.8
set title 'Short time behavior' offset 0,-0.8
set ylabel ''
set xrange[0:10]
set yrange[0:40]
+2 −2
Original line number Diff line number Diff line
@@ -822,7 +822,7 @@
       "}\n",
       "\n",
       "mpl.figure.prototype._key_event_extra = function(event, name) {\n",
       "    // Handle any extra behaviour associated with a key event\n",
       "    // Handle any extra behavior associated with a key event\n",
       "}\n",
       "\n",
       "mpl.figure.prototype.key_event = function(event, name) {\n",
@@ -1053,7 +1053,7 @@
       "mpl.find_output_cell = function(html_output) {\n",
       "    // Return the cell and output element which can be found *uniquely* in the notebook.\n",
       "    // Note - this is a bit hacky, but it is done because the \"notebook_saving.Notebook\"\n",
       "    // IPython event is triggered only after the cells have been serialised, which for\n",
       "    // IPython event is triggered only after the cells have been serialized, which for\n",
       "    // our purposes (turning an active figure into a static one), is too late.\n",
       "    var cells = IPython.notebook.get_cells();\n",
       "    var ncells = cells.length;\n",
+1 −1
Original line number Diff line number Diff line
@@ -119,7 +119,7 @@ int FixRattle::setmask()

void FixRattle::init() {

  // initialise SHAKE first
  // initialize SHAKE first

  FixShake::init();

Loading