Skip to content

Commit

Permalink
Fix spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
rishavpramanik authored Nov 7, 2023
1 parent 85de68d commit 3c10121
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions utils/generate_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ def generate_csv(path):
print("CSV being generated")
uniques = ["Dyskeratotic" , "Koilocytotic" , "Metaplastic" , "Parabasal" , "SuperficialIntermediate"]
dirs = ["train" , "test"]

"""
+-- train
| +-- Dyskeratotic
Expand All @@ -21,8 +20,6 @@ def generate_csv(path):
| +-- Metaplastic
| +-- Parabasal
| +-- SuperficialIntermediate
"""
#Above is the expected directory structure

Expand All @@ -32,7 +29,6 @@ def generate_csv(path):
directory = path + "/" + dir + "/" + unique #required path

for filename in os.listdir(directory):

paths = directory + "/" + filename #required path
data.append([ filename , paths , unique])

Expand Down

0 comments on commit 3c10121

Please sign in to comment.