Skip to content

Commit

Permalink
Cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisePD committed Jul 1, 2014
1 parent 886bd99 commit 3d926a7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Regimes/Regimes_complementaires_prive.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
parentdir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
os.sys.path.insert(0,parentdir)

from numpy import minimum, maximum, multiply
from numpy import minimum
from regime import RegimeComplementaires, compare_destinie


Expand Down
2 changes: 1 addition & 1 deletion regime.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def nombre_points(self, data, trim_wages):
Pour calculer ces points, il faut diviser la cotisation annuelle ouvrant des droits par le salaire de référence de l'année concernée
et multiplier par le taux d'acquisition des points'''
sali_plaf = self.sali_for_regime(data, trim_wages)
Plong_regime = getattr(self.P_longit.prive.complementaire, self.name)
Plong_regime = reduce(getattr, self.param_name.split('.'), self.P_longit) #getattr(self.P_longit.prive.complementaire, self.name)
salref = Plong_regime.sal_ref
taux_cot = Plong_regime.taux_cot_moy
assert len(salref) == sali_plaf.shape[1] == len(taux_cot)
Expand Down
1 change: 0 additions & 1 deletion sandbox/compare/print_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

from simulation import PensionSimulation
from pension_legislation import PensionParam, PensionLegislation
from print_decorator import data_to_print, yearsim

def run_to_print(data, yearsim):
param = PensionParam(yearsim, data)
Expand Down
2 changes: 1 addition & 1 deletion trimesters_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@author: aeidelman
'''
from numpy import minimum, array, nonzero, divide, transpose, zeros, isnan, around, multiply, greater, where
from numpy import minimum, array, divide, zeros, isnan, multiply, greater
from pandas import Series
from regime import compare_destinie
from time_array import TimeArray
Expand Down

0 comments on commit 3d926a7

Please sign in to comment.