From 322a73c8da7d051fb5a193727509285176cbe2a5 Mon Sep 17 00:00:00 2001 From: timeforplanb123 Date: Sun, 27 Mar 2022 17:25:31 +0300 Subject: [PATCH] fix new functions .ipynb tutorials --- .../tutorials/function_write_results.ipynb | 46 +++++++++---------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/docs/source/tutorials/function_write_results.ipynb b/docs/source/tutorials/function_write_results.ipynb index c5bec13..5be42d4 100644 --- a/docs/source/tutorials/function_write_results.ipynb +++ b/docs/source/tutorials/function_write_results.ipynb @@ -12,7 +12,7 @@ }, { "cell_type": "code", - "execution_count": 27, + "execution_count": 33, "id": "03a00337", "metadata": {}, "outputs": [], @@ -46,7 +46,7 @@ }, { "cell_type": "code", - "execution_count": 28, + "execution_count": 34, "id": "cb99b478", "metadata": {}, "outputs": [ @@ -65,7 +65,7 @@ " '--- out_files/write_results/dev5.no_group\\n\\n+++ new\\n\\n@@ -0,0 +1,3 @@\\n\\n+---- dev5.no_group: dummy_task ** changed : False ------------------------------ INFO\\n+\\n+hi!!!')]" ] }, - "execution_count": 28, + "execution_count": 34, "metadata": {}, "output_type": "execute_result" } @@ -98,7 +98,7 @@ }, { "cell_type": "code", - "execution_count": 30, + "execution_count": 35, "id": "5227fd1e", "metadata": {}, "outputs": [ @@ -106,20 +106,20 @@ "name": "stdout", "output_type": "stream", "text": [ - "\u001b[1mout_files/write_results/dev4.group_2\u001b[0;0m\u001b[0m\u001b[0m\u001b[0m\n", - "\u001b[0m\u001b[0m\u001b[0m---- dev4.group_2: dummy_task ** changed : False ------------------------------- INFO\n", - "\n", - "hi!!!\u001b[0m\u001b[0m\u001b[0m\n", - "\u001b[0m\u001b[0m\u001b[0m\u001b[1mout_files/write_results/dev3.group_2\u001b[0;0m\u001b[0m\u001b[0m\u001b[0m\n", - "\u001b[0m\u001b[0m\u001b[0m---- dev3.group_2: dummy_task ** changed : False ------------------------------- INFO\n", + "\u001b[1mout_files/write_results/dev1.group_1\u001b[0;0m\u001b[0m\u001b[0m\u001b[0m\n", + "\u001b[0m\u001b[0m\u001b[0m---- dev1.group_1: dummy_task ** changed : False ------------------------------- INFO\n", "\n", "hi!!!\u001b[0m\u001b[0m\u001b[0m\n", "\u001b[0m\u001b[0m\u001b[0m\u001b[1mout_files/write_results/dev2.group_1\u001b[0;0m\u001b[0m\u001b[0m\u001b[0m\n", "\u001b[0m\u001b[0m\u001b[0m---- dev2.group_1: dummy_task ** changed : False ------------------------------- INFO\n", "\n", "hi!!!\u001b[0m\u001b[0m\u001b[0m\n", - "\u001b[0m\u001b[0m\u001b[0m\u001b[1mout_files/write_results/dev1.group_1\u001b[0;0m\u001b[0m\u001b[0m\u001b[0m\n", - "\u001b[0m\u001b[0m\u001b[0m---- dev1.group_1: dummy_task ** changed : False ------------------------------- INFO\n", + "\u001b[0m\u001b[0m\u001b[0m\u001b[1mout_files/write_results/dev3.group_2\u001b[0;0m\u001b[0m\u001b[0m\u001b[0m\n", + "\u001b[0m\u001b[0m\u001b[0m---- dev3.group_2: dummy_task ** changed : False ------------------------------- INFO\n", + "\n", + "hi!!!\u001b[0m\u001b[0m\u001b[0m\n", + "\u001b[0m\u001b[0m\u001b[0m\u001b[1mout_files/write_results/dev4.group_2\u001b[0;0m\u001b[0m\u001b[0m\u001b[0m\n", + "\u001b[0m\u001b[0m\u001b[0m---- dev4.group_2: dummy_task ** changed : False ------------------------------- INFO\n", "\n", "hi!!!\u001b[0m\u001b[0m\u001b[0m\n", "\u001b[0m\u001b[0m\u001b[0m\u001b[1mout_files/write_results/dev5.no_group\u001b[0;0m\u001b[0m\u001b[0m\u001b[0m\n", @@ -135,7 +135,7 @@ "\n", "dir_path = \"out_files/write_results/\"\n", "\n", - "for filename in os.listdir(dir_path):\n", + "for filename in sorted(os.listdir(dir_path)):\n", " file_path = dir_path + filename\n", " \n", " with open(file_path) as f:\n", @@ -223,7 +223,7 @@ "\n", "dir_path = \"out_files/write_results/\"\n", "\n", - "for filename in os.listdir(dir_path):\n", + "for filename in sorted(os.listdir(dir_path)):\n", " file_path = dir_path + filename\n", " \n", " with open(file_path) as f:\n", @@ -308,7 +308,7 @@ "\n", "dir_path = \"out_files/write_results/\"\n", "\n", - "for filename in os.listdir(dir_path):\n", + "for filename in sorted(os.listdir(dir_path)):\n", " file_path = dir_path + filename\n", " \n", " with open(file_path) as f:\n", @@ -414,7 +414,7 @@ "\n", "dir_path = \"out_files/write_results/\"\n", "\n", - "for filename in os.listdir(dir_path):\n", + "for filename in sorted(os.listdir(dir_path)):\n", " file_path = dir_path + filename\n", " \n", " with open(file_path) as f:\n", @@ -578,7 +578,7 @@ "\n", "dir_path = \"out_files/write_results/\"\n", "\n", - "for filename in os.listdir(dir_path):\n", + "for filename in sorted(os.listdir(dir_path)):\n", " file_path = dir_path + filename\n", " \n", " with open(file_path) as f:\n", @@ -644,7 +644,7 @@ "\n", "dir_path = \"out_files/write_results/\"\n", "\n", - "for filename in os.listdir(dir_path):\n", + "for filename in sorted(os.listdir(dir_path)):\n", " file_path = dir_path + filename\n", " \n", " with open(file_path) as f:\n", @@ -730,7 +730,7 @@ "\n", "dir_path = \"out_files/write_results/\"\n", "\n", - "for filename in os.listdir(dir_path):\n", + "for filename in sorted(os.listdir(dir_path)):\n", " file_path = dir_path + filename\n", " \n", " with open(file_path) as f:\n", @@ -851,7 +851,7 @@ "\n", "dir_path = \"out_files/write_results/\"\n", "\n", - "for filename in os.listdir(dir_path):\n", + "for filename in sorted(os.listdir(dir_path)):\n", " file_path = dir_path + filename\n", " \n", " with open(file_path) as f:\n", @@ -927,7 +927,7 @@ "\n", "dir_path = \"out_files/write_results/\"\n", "\n", - "for filename in os.listdir(dir_path):\n", + "for filename in sorted(os.listdir(dir_path)):\n", " file_path = dir_path + filename\n", " \n", " with open(file_path) as f:\n", @@ -1023,7 +1023,7 @@ "\n", "dir_path = \"out_files/write_results/\"\n", "\n", - "for filename in os.listdir(dir_path):\n", + "for filename in sorted(os.listdir(dir_path)):\n", " file_path = dir_path + filename\n", " \n", " with open(file_path) as f:\n", @@ -1128,7 +1128,7 @@ "\n", "dir_path = \"out_files/write_results/\"\n", "\n", - "for filename in os.listdir(dir_path):\n", + "for filename in sorted(os.listdir(dir_path)):\n", " file_path = dir_path + filename\n", " \n", " with open(file_path) as f:\n",