From df25e5b09f74f161a8dbd42550bd07b5a1669cbb Mon Sep 17 00:00:00 2001 From: Felix Divo <4403130+felixdivo@users.noreply.github.com> Date: Sat, 24 Jun 2023 11:41:49 +0200 Subject: [PATCH] Skip LICENSE file Skip LICENSE file that exists in the downloaded datasets form the AMASS website. This previously stopped the processing until it was removed manually. Now it just skips it. --- raw_pose_processing.ipynb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/raw_pose_processing.ipynb b/raw_pose_processing.ipynb index de47f1b..41605e9 100644 --- a/raw_pose_processing.ipynb +++ b/raw_pose_processing.ipynb @@ -135,6 +135,9 @@ "# folders.append(os.path.join(root, folder))\n", " folders.append(root)\n", " for name in files:\n", + " if name.startswith('LICENSE'):\n", + " print('Skipping LICENSE file in ' + dataset_name)\n", + " continue\n", " dataset_name = root.split('/')[2]\n", " if dataset_name not in dataset_names:\n", " dataset_names.append(dataset_name)\n",