Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 3 additions & 15 deletions tofu/tests/tests09_tutorials/tests01_runall.py
Original file line number Diff line number Diff line change
@@ -1,25 +1,13 @@

# External modules
import os
import shutil
import types
import subprocess
import numpy as np
import warnings as warn
import matplotlib.pyplot as plt

# Nose-specific
from nose import with_setup # optional

# Importing package tofu.geom
import tofu as tf
from tofu import __version__

from pathlib import Path
Comment thread
flothesof marked this conversation as resolved.

_HERE = os.path.abspath(os.path.dirname(__file__))
_TFROOT = _HERE[:-_HERE[::-1].index('/tofu'[::-1])-len('/tofu')]
# _TFROOT = tf.__path__[0][:-5]
# _PATHTUTO = os.path.join(_TFROOT, 'examples', 'tutorials')
_TFROOT = Path(_HERE).parent.parent.parent

keyVers = 'Vers'


Expand Down