<commit_before>import React, { Component } from 'react';
import CurrentWeatherCard from '../components/CurrentWeatherCard';
import NavBar from '../components/NavBar';
import SevenHour from '../components/SevenHour';
import TenDay from '../components/TenDay';
import LocationNotFound from '../components/LocationNotFound';
const wuURL = 'http://api.wunderground.com/api/878e77b9c3411d19/';

export default class App extends Component {
  constructor() {
    super();
    this.state = {
      response: null,
      currentForecast: null,
      forecast: null,
      hourlyForecast: null,
    };
  }

  componentDidMount() {
    try {
      const lsLocation = localStorage.getItem('weathrly');
      if (lsLocation) {
        // this.getWeatherData(lsLocation);
      }
    } catch (e) {
      console.error(e);
    }
  }

  persistLocation(location) {
    localStorage.setItem('weathrly', location);
  }
<commit_msg>Add line for getting weather.<commit_after>import React, { Component } from 'react';
import CurrentWeatherCard from '../components/CurrentWeatherCard';
import NavBar from '../components/NavBar';
import SevenHour from '../components/SevenHour';
import TenDay from '../components/TenDay';
import LocationNotFound from '../components/LocationNotFound';
const wuURL = 'http://api.wunderground.com/api/878e77b9c3411d19/';

export default class App extends Component {
  constructor() {
    super();
    this.state = {
      response: null,
      currentForecast: null,
      forecast: null,
      hourlyForecast: null,
    };
  }

  componentDidMount() {
    try {
      const lsLocation = localStorage.getItem('weathrly');
      if (lsLocation) {
        this.getWeatherData(lsLocation);
      }
    } catch (e) {
      console.error(e);
    }
  }

  persistLocation(location) {
    localStorage.setItem('weathrly', location);
  }

{'fraction_non_alphanumeric': 0.1287343834872352, 'fraction_numerical': 0.013036393264530146, 'mean_word_length': 3.2937062937062938, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '6097256', 'n_tokens_mistral': 566, 'n_tokens_neox': 547, 'n_words': 122}