Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reading files once smpsite is installed #15

Open
facusapienza21 opened this issue May 7, 2023 · 0 comments
Open

Reading files once smpsite is installed #15

facusapienza21 opened this issue May 7, 2023 · 0 comments
Assignees

Comments

@facusapienza21
Copy link
Member

The mapping from kappa to angular dispersion is currently computed based on an interpolation of a pre-computed file located in kappa_secular. Now, in order to read this file once the package has been installed I had added the following line to define the relative path inside kappa.py:

_file_location = pathlib.Path(__file__).parent.joinpath("kappa_tabular/kappa2angular.csv")#.parent.joinpath("")
df = pd.read_csv(_file_location, header=0)

However, even after installation, this path doesn't seem to be recognized in the Binder hub. I am not sure why this is the case, but I guess this is not the best way of reading the file. This is the message error once we launch Binder
Screen Shot 2023-05-06 at 7 08 41 PM

@facusapienza21 facusapienza21 self-assigned this May 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant