Skip to content

Commit

Permalink
added condition to not do gitkeep
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeyu-Li committed Jan 19, 2021
1 parent f30c59f commit 4ef6e1f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions split.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ def main():
dir_list = os.listdir(inputs)
# only splits first file
input_file = dir_list[0]
if input_file == '.gitkeep':
input_file = dir_list[1]

# tests
# print(input_file)
# print(sys.argv)

splits = []
Expand Down

0 comments on commit 4ef6e1f

Please sign in to comment.