<commit_before>/*
 *                    PDB web development code
 *
 * This code may be freely distributed and modified under the
 * terms of the GNU Lesser General Public Licence.  This should
 * be distributed with the code.  If you do not have a copy,
 * see:
 *
 *      http://www.gnu.org/copyleft/lesser.html
 *
 * Copyright for this code is held jointly by the individual
 * authors.  These should be listed in @author doc comments.
 *
 *
 * Created on Aug 5, 2009
 * Created by ap3
 *
 */

package org.biojava.bio.structure.secstruc;

class SecStrucState{
   double phi;
   double psi;

   HBond accept1;
   HBond accept2;
   HBond donor1;
   HBond donor2;
   
   boolean[] turn;
   
   public SecStrucState(){
       phi = 0;
       psi = 0 ;
       accept1 = new HBond();
       accept2 = new HBond();
       donor1  = new HBond();
       donor2  = new HBond();
       turn = new boolean[3];
       turn[0] = false;
       turn[1] = false;
       turn[2] = false;
   }
   
   public String toString(){
       StringBuffer buf = new StringBuffer();
       buf.append("a1:"+accept1 + " a2:" + accept2 + " d1:" + donor1 + " d2:" + donor2);
       return buf.toString();
   }
   
  public boolean[] getTurn() {
      return turn;
  }

  public void setTurn(boolean[] turn) {
      this.turn = turn;
  }

  public HBond getAccept1() {
      return accept1;
  }
  public void setAccept1(HBond accept1) {
      this.accept1 = accept1;
  }
  public HBond getAccept2() {
      return accept2;
  }
  public void setAccept2(HBond accept2) {
      this.accept2 = accept2;
  }
  public HBond getDonor1() {
      return donor1;
  }
  public void setDonor1(HBond donor1) {
      this.donor1 = donor1;
  }
  public HBond getDonor2() {
      return donor2;
  }
  public void setDonor2(HBond donor2) {
      this.donor2 = donor2;
  }
  public double getPhi() {
      return phi;
  }
  public void setPhi(double phi) {
      this.phi = phi;
  }
  public double getPsi() {
      return psi;
  }
  public void setPsi(double psi) {
      this.psi = psi;
  }
   
   
   
}
<commit_msg>now also storing omega<commit_after>/*
 *                    PDB web development code
 *
 * This code may be freely distributed and modified under the
 * terms of the GNU Lesser General Public Licence.  This should
 * be distributed with the code.  If you do not have a copy,
 * see:
 *
 *      http://www.gnu.org/copyleft/lesser.html
 *
 * Copyright for this code is held jointly by the individual
 * authors.  These should be listed in @author doc comments.
 *
 *
 * Created on Aug 5, 2009
 * Created by ap3
 *
 */

package org.biojava.bio.structure.secstruc;

class SecStrucState{
   double phi;
   double psi;
   double omega;
   
   HBond accept1;
   HBond accept2;
   HBond donor1;
   HBond donor2;
   
   boolean[] turn;
   
   public SecStrucState(){
       phi = 0;
       psi = 0 ;
       omega = 0;
       accept1 = new HBond();
       accept2 = new HBond();
       donor1  = new HBond();
       donor2  = new HBond();
       turn = new boolean[3];
       turn[0] = false;
       turn[1] = false;
       turn[2] = false;
   }
   
   public String toString(){
       StringBuffer buf = new StringBuffer();
       buf.append("a1:"+accept1 + " a2:" + accept2 + " d1:" + donor1 + " d2:" + donor2);
       return buf.toString();
   }
   
  public boolean[] getTurn() {
      return turn;
  }

  public void setTurn(boolean[] turn) {
      this.turn = turn;
  }

  public HBond getAccept1() {
      return accept1;
  }
  public void setAccept1(HBond accept1) {
      this.accept1 = accept1;
  }
  public HBond getAccept2() {
      return accept2;
  }
  public void setAccept2(HBond accept2) {
      this.accept2 = accept2;
  }
  public HBond getDonor1() {
      return donor1;
  }
  public void setDonor1(HBond donor1) {
      this.donor1 = donor1;
  }
  public HBond getDonor2() {
      return donor2;
  }
  public void setDonor2(HBond donor2) {
      this.donor2 = donor2;
  }
  public double getPhi() {
      return phi;
  }
  public void setPhi(double phi) {
      this.phi = phi;
  }
  public double getPsi() {
      return psi;
  }
  public void setPsi(double psi) {
      this.psi = psi;
  }

public double getOmega() {
	return omega;
}

public void setOmega(double omega) {
	this.omega = omega;
}
   
   
   
}

{'fraction_non_alphanumeric': 0.1050058207217695, 'fraction_numerical': 0.024447031431897557, 'mean_word_length': 2.203579418344519, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3320399', 'n_tokens_mistral': 1540, 'n_tokens_neox': 1456, 'n_words': 426}