Skip to content

Commit

Permalink
Moves informational CSV files into info directory
Browse files Browse the repository at this point in the history
  • Loading branch information
zo0o0ot committed Sep 25, 2019
1 parent 08c1cf8 commit d50bb3c
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private static void CreateCombinedCSVWithExtras()
{
System.Console.WriteLine("Creating the big CSV.....");
// Get Schools and the States where they are located.
var schoolsAndConferences = System.IO.File.ReadAllLines("SchoolStatesAndConferences.csv")
var schoolsAndConferences = System.IO.File.ReadAllLines($"info{Path.DirectorySeparatorChar}SchoolStatesAndConferences.csv")
.Skip(1)
.Where(s => s.Length > 1)
.Select( s =>
Expand All @@ -116,7 +116,7 @@ private static void CreateCombinedCSVWithExtras()
.ToList();

//Get position types
var positionsAndTypes = System.IO.File.ReadAllLines("PositionInfo.csv")
var positionsAndTypes = System.IO.File.ReadAllLines($"info{Path.DirectorySeparatorChar}PositionInfo.csv")
.Skip(1)
.Where(s => s.Length > 1)
.Select( s =>
Expand All @@ -126,7 +126,7 @@ private static void CreateCombinedCSVWithExtras()
})
.ToList();
// Let's assign these ranks point values.
var ranksToProjectedPoints = System.IO.File.ReadAllLines($"RanksToProjectedPoints.csv")
var ranksToProjectedPoints = System.IO.File.ReadAllLines($"info{Path.DirectorySeparatorChar}RanksToProjectedPoints.csv")
.Skip(1)
.Where(s => s.Length > 1)
.Select( s =>
Expand Down Expand Up @@ -215,7 +215,7 @@ private static void CheckForMismatches(string csvFileName)
{
System.Console.WriteLine("Checking for mismatches in " + csvFileName + ".....");
// Read in data from a different project.
var schoolsAndConferences = System.IO.File.ReadAllLines("SchoolStatesAndConferences.csv")
var schoolsAndConferences = System.IO.File.ReadAllLines($"info{Path.DirectorySeparatorChar}SchoolStatesAndConferences.csv")
.Skip(1)
.Where(s => s.Length > 1)
.Select( s =>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit d50bb3c

Please sign in to comment.