Skip to content

Commit

Permalink
Rename cindex file to match python location
Browse files Browse the repository at this point in the history
Also delete the binary file that was mistakenly added
to git.

Signed-off-by: Jonas Kalderstam <[email protected]>
  • Loading branch information
spacecowboy committed Dec 7, 2014
1 parent 2c36084 commit c7244fc
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file removed lifelines/_statistics.cpython-34m.so
Binary file not shown.
File renamed without changes.
2 changes: 1 addition & 1 deletion lifelines/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import pandas as pd
from pandas import to_datetime

from lifelines._statistics import concordance_index as _cindex
from lifelines._utils import concordance_index as _cindex


def concordance_index(event_times, predicted_event_times, event_observed=None):
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ def read(fname):


# Fortran extensions for statistics module
ext_fstat = Extension(name="lifelines._statistics",
sources=["lifelines/_statistics.f90"])
ext_fstat = Extension(name="lifelines._utils",
sources=["lifelines/_utils.f90"])


setup(
Expand Down

1 comment on commit c7244fc

@CamDavidsonPilon
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool cool - I didn't know this was necessary

Please sign in to comment.