diff --git a/docs/conf.py b/docs/conf.py index 0db00cb..72373c1 100755 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full diff --git a/src/pyctbn/legacy/estimators/__init__.py b/src/pyctbn/legacy/estimators/__init__.py index 01fd7c6..e81aa0f 100755 --- a/src/pyctbn/legacy/estimators/__init__.py +++ b/src/pyctbn/legacy/estimators/__init__.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/src/pyctbn/legacy/estimators/fam_score_calculator.py b/src/pyctbn/legacy/estimators/fam_score_calculator.py index e3123fe..268fe05 100755 --- a/src/pyctbn/legacy/estimators/fam_score_calculator.py +++ b/src/pyctbn/legacy/estimators/fam_score_calculator.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/src/pyctbn/legacy/estimators/parameters_estimator.py b/src/pyctbn/legacy/estimators/parameters_estimator.py index a01d549..2319639 100755 --- a/src/pyctbn/legacy/estimators/parameters_estimator.py +++ b/src/pyctbn/legacy/estimators/parameters_estimator.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/src/pyctbn/legacy/estimators/structure_constraint_based_estimator.py b/src/pyctbn/legacy/estimators/structure_constraint_based_estimator.py index c0fef70..f495ffa 100755 --- a/src/pyctbn/legacy/estimators/structure_constraint_based_estimator.py +++ b/src/pyctbn/legacy/estimators/structure_constraint_based_estimator.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/src/pyctbn/legacy/estimators/structure_estimator.py b/src/pyctbn/legacy/estimators/structure_estimator.py index 8840c85..2810184 100755 --- a/src/pyctbn/legacy/estimators/structure_estimator.py +++ b/src/pyctbn/legacy/estimators/structure_estimator.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/src/pyctbn/legacy/estimators/structure_score_based_estimator.py b/src/pyctbn/legacy/estimators/structure_score_based_estimator.py index 70523ee..7c66554 100755 --- a/src/pyctbn/legacy/estimators/structure_score_based_estimator.py +++ b/src/pyctbn/legacy/estimators/structure_score_based_estimator.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/src/pyctbn/legacy/optimizers/__init__.py b/src/pyctbn/legacy/optimizers/__init__.py index ffa10d4..cca00c1 100755 --- a/src/pyctbn/legacy/optimizers/__init__.py +++ b/src/pyctbn/legacy/optimizers/__init__.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/src/pyctbn/legacy/optimizers/constraint_based_optimizer.py b/src/pyctbn/legacy/optimizers/constraint_based_optimizer.py index aeb67fc..ae5c901 100755 --- a/src/pyctbn/legacy/optimizers/constraint_based_optimizer.py +++ b/src/pyctbn/legacy/optimizers/constraint_based_optimizer.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/src/pyctbn/legacy/optimizers/hill_climbing_search.py b/src/pyctbn/legacy/optimizers/hill_climbing_search.py index ede3db7..b0be2f6 100755 --- a/src/pyctbn/legacy/optimizers/hill_climbing_search.py +++ b/src/pyctbn/legacy/optimizers/hill_climbing_search.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/src/pyctbn/legacy/optimizers/optimizer.py b/src/pyctbn/legacy/optimizers/optimizer.py index e62aced..59e56da 100755 --- a/src/pyctbn/legacy/optimizers/optimizer.py +++ b/src/pyctbn/legacy/optimizers/optimizer.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/src/pyctbn/legacy/optimizers/tabu_search.py b/src/pyctbn/legacy/optimizers/tabu_search.py index 7650732..e3443b3 100755 --- a/src/pyctbn/legacy/optimizers/tabu_search.py +++ b/src/pyctbn/legacy/optimizers/tabu_search.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/src/pyctbn/legacy/structure_graph/__init__.py b/src/pyctbn/legacy/structure_graph/__init__.py index b9c24e5..b197b34 100755 --- a/src/pyctbn/legacy/structure_graph/__init__.py +++ b/src/pyctbn/legacy/structure_graph/__init__.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/src/pyctbn/legacy/structure_graph/conditional_intensity_matrix.py b/src/pyctbn/legacy/structure_graph/conditional_intensity_matrix.py index d5df8d7..8777193 100755 --- a/src/pyctbn/legacy/structure_graph/conditional_intensity_matrix.py +++ b/src/pyctbn/legacy/structure_graph/conditional_intensity_matrix.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/src/pyctbn/legacy/structure_graph/network_generator.py b/src/pyctbn/legacy/structure_graph/network_generator.py index d10ba9e..f1cfd71 100755 --- a/src/pyctbn/legacy/structure_graph/network_generator.py +++ b/src/pyctbn/legacy/structure_graph/network_generator.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 from .structure import Structure from .network_graph import NetworkGraph from .conditional_intensity_matrix import ConditionalIntensityMatrix diff --git a/src/pyctbn/legacy/structure_graph/network_graph.py b/src/pyctbn/legacy/structure_graph/network_graph.py index 254555d..0269dfe 100755 --- a/src/pyctbn/legacy/structure_graph/network_graph.py +++ b/src/pyctbn/legacy/structure_graph/network_graph.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/src/pyctbn/legacy/structure_graph/sample_path.py b/src/pyctbn/legacy/structure_graph/sample_path.py index a924fe4..6dd706b 100755 --- a/src/pyctbn/legacy/structure_graph/sample_path.py +++ b/src/pyctbn/legacy/structure_graph/sample_path.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/src/pyctbn/legacy/structure_graph/set_of_cims.py b/src/pyctbn/legacy/structure_graph/set_of_cims.py index 16d5b1b..39610f2 100755 --- a/src/pyctbn/legacy/structure_graph/set_of_cims.py +++ b/src/pyctbn/legacy/structure_graph/set_of_cims.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/src/pyctbn/legacy/structure_graph/structure.py b/src/pyctbn/legacy/structure_graph/structure.py index eb3edda..6b72d70 100755 --- a/src/pyctbn/legacy/structure_graph/structure.py +++ b/src/pyctbn/legacy/structure_graph/structure.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/src/pyctbn/legacy/structure_graph/trajectory.py b/src/pyctbn/legacy/structure_graph/trajectory.py index 5e86316..a3be296 100755 --- a/src/pyctbn/legacy/structure_graph/trajectory.py +++ b/src/pyctbn/legacy/structure_graph/trajectory.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/src/pyctbn/legacy/structure_graph/trajectory_generator.py b/src/pyctbn/legacy/structure_graph/trajectory_generator.py index 56e170f..8124e57 100755 --- a/src/pyctbn/legacy/structure_graph/trajectory_generator.py +++ b/src/pyctbn/legacy/structure_graph/trajectory_generator.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 from ..utility.abstract_importer import AbstractImporter from .conditional_intensity_matrix import ConditionalIntensityMatrix from .set_of_cims import SetOfCims diff --git a/src/pyctbn/legacy/utility/__init__.py b/src/pyctbn/legacy/utility/__init__.py index eefdb59..9a31654 100755 --- a/src/pyctbn/legacy/utility/__init__.py +++ b/src/pyctbn/legacy/utility/__init__.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/src/pyctbn/legacy/utility/abstract_exporter.py b/src/pyctbn/legacy/utility/abstract_exporter.py index a3e1a28..07628e1 100755 --- a/src/pyctbn/legacy/utility/abstract_exporter.py +++ b/src/pyctbn/legacy/utility/abstract_exporter.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import json import pandas as pd import os diff --git a/src/pyctbn/legacy/utility/abstract_importer.py b/src/pyctbn/legacy/utility/abstract_importer.py index 9328a65..da09187 100755 --- a/src/pyctbn/legacy/utility/abstract_importer.py +++ b/src/pyctbn/legacy/utility/abstract_importer.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/src/pyctbn/legacy/utility/cache.py b/src/pyctbn/legacy/utility/cache.py index 10caa22..df76a48 100755 --- a/src/pyctbn/legacy/utility/cache.py +++ b/src/pyctbn/legacy/utility/cache.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/src/pyctbn/legacy/utility/json_exporter.py b/src/pyctbn/legacy/utility/json_exporter.py index 43b11da..2b2d559 100755 --- a/src/pyctbn/legacy/utility/json_exporter.py +++ b/src/pyctbn/legacy/utility/json_exporter.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import json import pandas as pd import numpy as np diff --git a/src/pyctbn/legacy/utility/json_importer.py b/src/pyctbn/legacy/utility/json_importer.py index 781be4d..ccf704a 100755 --- a/src/pyctbn/legacy/utility/json_importer.py +++ b/src/pyctbn/legacy/utility/json_importer.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/src/pyctbn/legacy/utility/sample_importer.py b/src/pyctbn/legacy/utility/sample_importer.py index 4c3fdf0..eb348bc 100755 --- a/src/pyctbn/legacy/utility/sample_importer.py +++ b/src/pyctbn/legacy/utility/sample_importer.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/tests/__init__.py b/tests/__init__.py index 8038187..14c854a 100755 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,2 +1,3 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/tests/estimators/test_parameters_estimator.py b/tests/estimators/test_parameters_estimator.py index 41f4faf..79976ac 100755 --- a/tests/estimators/test_parameters_estimator.py +++ b/tests/estimators/test_parameters_estimator.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/tests/estimators/test_structure_constraint_based_estimator.py b/tests/estimators/test_structure_constraint_based_estimator.py index 0552fd2..1e5cfdf 100755 --- a/tests/estimators/test_structure_constraint_based_estimator.py +++ b/tests/estimators/test_structure_constraint_based_estimator.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/tests/estimators/test_structure_estimator.py b/tests/estimators/test_structure_estimator.py index 028ff2c..806de46 100755 --- a/tests/estimators/test_structure_estimator.py +++ b/tests/estimators/test_structure_estimator.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/tests/estimators/test_structure_score_based_estimator.py b/tests/estimators/test_structure_score_based_estimator.py index 2b8f60f..6438724 100755 --- a/tests/estimators/test_structure_score_based_estimator.py +++ b/tests/estimators/test_structure_score_based_estimator.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/tests/optimizers/test_hill_climbing_search.py b/tests/optimizers/test_hill_climbing_search.py index 0c4395a..ba171eb 100755 --- a/tests/optimizers/test_hill_climbing_search.py +++ b/tests/optimizers/test_hill_climbing_search.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/tests/optimizers/test_tabu_search.py b/tests/optimizers/test_tabu_search.py index 2fbfd46..f46444b 100755 --- a/tests/optimizers/test_tabu_search.py +++ b/tests/optimizers/test_tabu_search.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/tests/structure_graph/test_cim.py b/tests/structure_graph/test_cim.py index cd3f400..91dca56 100755 --- a/tests/structure_graph/test_cim.py +++ b/tests/structure_graph/test_cim.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/tests/structure_graph/test_networkgenerator.py b/tests/structure_graph/test_networkgenerator.py index 60f7554..e1b1486 100755 --- a/tests/structure_graph/test_networkgenerator.py +++ b/tests/structure_graph/test_networkgenerator.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import unittest import random import numpy as np diff --git a/tests/structure_graph/test_networkgraph.py b/tests/structure_graph/test_networkgraph.py index 2b46aab..695804d 100755 --- a/tests/structure_graph/test_networkgraph.py +++ b/tests/structure_graph/test_networkgraph.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/tests/structure_graph/test_sample_path.py b/tests/structure_graph/test_sample_path.py index f4a5381..97fc64d 100755 --- a/tests/structure_graph/test_sample_path.py +++ b/tests/structure_graph/test_sample_path.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/tests/structure_graph/test_setofcims.py b/tests/structure_graph/test_setofcims.py index 5af0929..9c22859 100755 --- a/tests/structure_graph/test_setofcims.py +++ b/tests/structure_graph/test_setofcims.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/tests/structure_graph/test_structure.py b/tests/structure_graph/test_structure.py index ddf2fb8..df0154c 100755 --- a/tests/structure_graph/test_structure.py +++ b/tests/structure_graph/test_structure.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/tests/structure_graph/test_trajectory.py b/tests/structure_graph/test_trajectory.py index 7d5dd64..66f30a4 100755 --- a/tests/structure_graph/test_trajectory.py +++ b/tests/structure_graph/test_trajectory.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/tests/structure_graph/test_trajectorygenerator.py b/tests/structure_graph/test_trajectorygenerator.py index 54cb81f..2ab644e 100755 --- a/tests/structure_graph/test_trajectorygenerator.py +++ b/tests/structure_graph/test_trajectorygenerator.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import unittest import random diff --git a/tests/utility/test_cache.py b/tests/utility/test_cache.py index 8d91428..138366e 100755 --- a/tests/utility/test_cache.py +++ b/tests/utility/test_cache.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/tests/utility/test_json_exporter.py b/tests/utility/test_json_exporter.py index fb0484a..b1e4909 100755 --- a/tests/utility/test_json_exporter.py +++ b/tests/utility/test_json_exporter.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import unittest import random import numpy as np diff --git a/tests/utility/test_json_importer.py b/tests/utility/test_json_importer.py index 68a2a00..536185a 100755 --- a/tests/utility/test_json_importer.py +++ b/tests/utility/test_json_importer.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License diff --git a/tests/utility/test_sample_importer.py b/tests/utility/test_sample_importer.py index 07a4eb1..3a9ffee 100755 --- a/tests/utility/test_sample_importer.py +++ b/tests/utility/test_sample_importer.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # License: MIT License