diff --git a/examples/001_example/001.ipynb b/examples/001_example/001.ipynb index 3caec0f3eec5f85c9fbad528defa13f89895ee1e..94b942de1fdfa9174efc63a382e91ecec843a1e6 100644 --- a/examples/001_example/001.ipynb +++ b/examples/001_example/001.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "markdown", - "id": "709283b4", + "id": "8114a275", "metadata": {}, "source": [ "Let aussume that we need to make this computation\n", @@ -24,7 +24,7 @@ { "cell_type": "code", "execution_count": 1, - "id": "ff6ab8d0", + "id": "2263dcb4", "metadata": {}, "outputs": [], "source": [ @@ -35,7 +35,7 @@ { "cell_type": "code", "execution_count": 2, - "id": "71eb56f4", + "id": "06366b27", "metadata": {}, "outputs": [], "source": [ @@ -60,7 +60,7 @@ { "cell_type": "code", "execution_count": 3, - "id": "e58f9d94", + "id": "b3538e96", "metadata": {}, "outputs": [], "source": [ @@ -75,7 +75,7 @@ { "cell_type": "code", "execution_count": 4, - "id": "83d64c0e", + "id": "6f68ad18", "metadata": {}, "outputs": [ { @@ -114,7 +114,7 @@ { "cell_type": "code", "execution_count": 5, - "id": "8a64d9ce", + "id": "346457b6", "metadata": {}, "outputs": [ { @@ -156,7 +156,7 @@ { "cell_type": "code", "execution_count": 6, - "id": "7b08541c", + "id": "a88d1b31", "metadata": {}, "outputs": [ { @@ -206,22 +206,22 @@ { "cell_type": "code", "execution_count": 7, - "id": "f4a65e8e", + "id": "b7e9a224", "metadata": {}, "outputs": [], "source": [ "# we can also modify the submit command\n", "if False:\n", - " for i, node in enumerate(root.leaves):\n", - " if i>3:\n", - " print(i)\n", - " node.submit_command = f'condor_submit run.sub -batch-name square_root'" + "for i, node in enumerate(root.leaves):\n", + " if i>3:\n", + " print(i)\n", + " node.submit_command = f'condor_submit run.sub -batch-name square_root'" ] }, { "cell_type": "code", "execution_count": 8, - "id": "c5218b5d", + "id": "4e0373c0", "metadata": {}, "outputs": [ { @@ -243,7 +243,7 @@ { "cell_type": "code", "execution_count": 9, - "id": "42ee35ce", + "id": "16e2e0b7", "metadata": {}, "outputs": [], "source": [ @@ -253,7 +253,7 @@ { "cell_type": "code", "execution_count": 10, - "id": "0a14d92a", + "id": "ebffa95a", "metadata": {}, "outputs": [ { @@ -282,7 +282,7 @@ { "cell_type": "code", "execution_count": 25, - "id": "eea5d4a7", + "id": "1dc15a4f", "metadata": {}, "outputs": [], "source": [ @@ -299,7 +299,7 @@ { "cell_type": "code", "execution_count": 12, - "id": "256c5c69", + "id": "686da9ab", "metadata": {}, "outputs": [], "source": [ @@ -317,7 +317,7 @@ { "cell_type": "code", "execution_count": 13, - "id": "91dff0cb", + "id": "9d9db8e5", "metadata": {}, "outputs": [], "source": [ @@ -336,7 +336,7 @@ { "cell_type": "code", "execution_count": 14, - "id": "2a39303e", + "id": "93e71fc5", "metadata": {}, "outputs": [], "source": [ @@ -347,7 +347,7 @@ { "cell_type": "code", "execution_count": 15, - "id": "b2e57e4b", + "id": "230e71ee", "metadata": {}, "outputs": [], "source": [ @@ -358,7 +358,7 @@ { "cell_type": "code", "execution_count": 16, - "id": "734792fd", + "id": "78d67569", "metadata": {}, "outputs": [], "source": [ @@ -370,7 +370,7 @@ { "cell_type": "code", "execution_count": 17, - "id": "8e41a894", + "id": "1db375fa", "metadata": {}, "outputs": [], "source": [ @@ -384,7 +384,7 @@ { "cell_type": "code", "execution_count": 18, - "id": "2276f255", + "id": "03bd9fee", "metadata": {}, "outputs": [], "source": [ @@ -395,7 +395,7 @@ { "cell_type": "code", "execution_count": 19, - "id": "03dcbf0b", + "id": "1c4e1436", "metadata": {}, "outputs": [], "source": [ @@ -405,7 +405,7 @@ { "cell_type": "code", "execution_count": 20, - "id": "99cce676", + "id": "8a89e5f6", "metadata": {}, "outputs": [ { @@ -433,7 +433,7 @@ { "cell_type": "code", "execution_count": 22, - "id": "2a88a22b", + "id": "461b8fb9", "metadata": {}, "outputs": [ { @@ -479,7 +479,7 @@ { "cell_type": "code", "execution_count": null, - "id": "fa51e5c2", + "id": "7c2971ee", "metadata": {}, "outputs": [], "source": [] diff --git a/examples/001_example/001_chronjob.py b/examples/001_example/001_chronjob.py index 7cf3830fa9a737f53fdf637d524bbaf1c4575515..7ea6dcde82440c81b40f1100136c1e6f4ec8fdd5 100644 --- a/examples/001_example/001_chronjob.py +++ b/examples/001_example/001_chronjob.py @@ -22,7 +22,7 @@ from tree_maker import NodeJob try: root=tree_maker.tree_from_yaml( f'/home/jovyan/local_host_home/CERNBox/2021/tree_maker/examples/001_example/study_000/tree.yaml') -except exception as e: +except Exception as e: print(e) print('Probably you forgot to edit the address of you yaml file...')