Ticket #22230: sample.patch

File sample.patch, 845 bytes (added by howarth@…, 15 years ago)

fix sample python code

  • sample_scripts/relax_curve_diff.py

    old new  
    6262    cdp = pipes.get_pipe()
    6363
    6464    # Loop over the spins.
    65     for spin in spin_loop()
     65    for spin in spin_loop():
    6666        # Skip deselected spins.
    6767        if not spin.select:
    6868            continue
     
    106106    ###################################
    107107
    108108    # Loop over the spins.
    109     for spin in spin_loop()
     109    for spin in spin_loop():
    110110        # Skip deselected spins.
    111111        if not spin.select:
    112112            continue
     
    132132    ####################################
    133133
    134134    # Loop over the spins.
    135     for spin in spin_loop()
     135    for spin in spin_loop():
    136136        # Skip deselected spins.
    137137        if not spin.select:
    138138            continue