aboutsummaryrefslogtreecommitdiff
path: root/scripts/paper_plots.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/paper_plots.py')
-rwxr-xr-xscripts/paper_plots.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/paper_plots.py b/scripts/paper_plots.py
index f79cf3a..ff20548 100755
--- a/scripts/paper_plots.py
+++ b/scripts/paper_plots.py
@@ -20,12 +20,10 @@
import argparse
import importlib
-import inspect
import os
import sys
-currentdir = os.path.dirname(
- os.path.abspath(inspect.getfile(inspect.currentframe())))
+currentdir = os.path.dirname(os.path.abspath(__file__))
parentdir = os.path.dirname(currentdir)
sys.path.insert(0, parentdir)