<commit_before>import { Component, OnInit, ViewEncapsulation } from '@angular/core';

import { UsefulLinksService } from './useful-links.service';


@Component({
  selector: 'useful-links',
  templateUrl: 'useful-links.html',
  styleUrls: ['useful-links.css'],
  encapsulation: ViewEncapsulation.None
})
export class UsefulLinksComponent implements OnInit {
  nativeWindow: any;
  constructor(private linksService: UsefulLinksService) {
    this.nativeWindow = linksService.getNativeWindow();
  }

  ngOnInit() {}

  goToLink(link: string) {
    let newWindow = this.nativeWindow.open('/');
    newWindow.location.href = link;
  }

  get externalLinks(): Array<any> {
    return [
      {
        url: `https://wiki.ampath.or.ke/display/POC/Versions+Of+POC+Troubleshooting+Manual
        ?preview=/100302910/100794483/Troubleshooting%20POC%20Errors%2020170303.pdf`,
        title: 'POC General Troubleshooting Manual(PDF)'
      }
    ];
  }

}
<commit_msg>added the url for 'AMPATH Clinical Protocols and SOPs' to useful links<commit_after>import { Component, OnInit, ViewEncapsulation } from '@angular/core';

import { UsefulLinksService } from './useful-links.service';


@Component({
  selector: 'useful-links',
  templateUrl: 'useful-links.html',
  styleUrls: ['useful-links.css'],
  encapsulation: ViewEncapsulation.None
})
export class UsefulLinksComponent implements OnInit {
  nativeWindow: any;
  constructor(private linksService: UsefulLinksService) {
    this.nativeWindow = linksService.getNativeWindow();
  }

  ngOnInit() {}

  goToLink(link: string) {
    let newWindow = this.nativeWindow.open('/');
    newWindow.location.href = link;
  }

  get externalLinks(): Array<any> {
    return [
      {
        url: `https://wiki.ampath.or.ke/display/POC/Versions+Of+POC+Troubleshooting+Manual
        ?preview=/100302910/100794483/Troubleshooting%20POC%20Errors%2020170303.pdf`,
        title: 'POC General Troubleshooting Manual (PDF)'
      },
      {
        url: 'https://wiki.ampath.or.ke/display/ACPS/AMPATH+Clinical+Protocols+and+SOPs',
        title: 'AMPATH Clinical Protocols and SOPs'
      }
    ];
  }

}

{'fraction_non_alphanumeric': 0.1309244486156734, 'fraction_numerical': 0.03003284842796809, 'mean_word_length': 3.8787185354691074, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, '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': '245541', 'n_tokens_mistral': 762, 'n_tokens_neox': 703, 'n_words': 122}