From 348665e94bd4ef68ea5b83db5b6dfed50b57ecb7 Mon Sep 17 00:00:00 2001 From: Giovanni Pizzi Date: Fri, 26 Oct 2018 13:31:23 +0200 Subject: [PATCH] Removing version from sphinxext (using AiiDA's version) (#2126) Also adding missing headers in a file --- aiida/sphinxext/__init__.py | 4 ++-- aiida/work/job_calcs.py | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/aiida/sphinxext/__init__.py b/aiida/sphinxext/__init__.py index 82360ec013..415b193f3e 100644 --- a/aiida/sphinxext/__init__.py +++ b/aiida/sphinxext/__init__.py @@ -14,8 +14,8 @@ from __future__ import division from __future__ import print_function from __future__ import absolute_import -__version__ = '0.1.0' +import aiida from . import workchain @@ -25,4 +25,4 @@ def setup(app): """ workchain.setup_aiida_workchain(app) - return {'version': __version__, 'parallel_read_safe': True} + return {'version': aiida.__version__, 'parallel_read_safe': True} diff --git a/aiida/work/job_calcs.py b/aiida/work/job_calcs.py index dd50e7ee8b..f56e4a2df7 100644 --- a/aiida/work/job_calcs.py +++ b/aiida/work/job_calcs.py @@ -1,8 +1,19 @@ +# -*- coding: utf-8 -*- +########################################################################### +# Copyright (c), The AiiDA team. All rights reserved. # +# This file is part of the AiiDA code. # +# # +# The code is hosted on GitHub at https://github.com/aiidateam/aiida_core # +# For further information on the license, see the LICENSE.txt file # +# For further information please visit http://www.aiida.net # +########################################################################### """ Module containing utilities and classes relating to job calculations running on systems that require transport. """ +from __future__ import division +from __future__ import print_function from __future__ import absolute_import import contextlib from functools import partial