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

Lv3 filename #59

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Lv3 filename #59

wants to merge 2 commits into from

Conversation

Geet-George
Copy link
Owner

The requirement of searching for the latest version of L3 files previously made it difficult to import joanne.Level_4.ready_ds_for_regression as a module, because the directories for L3 were hard-coded. To fix this, this requirement was removed with the assumption (or the demand) that the user provide only one L3 file in the directory.

A subsequent function also called the get_level3_dataset function as default for the L3 directory. This default value has also been removed so as to not mess up the functioning of the module.

All these fixes should eventually become irrelevant with the introduction of a config file which would provide paths, rather than the hardcoded paths in the src files themselves.

This PR is currently kept open as a potential way to include the solutions for providing paths too... (But I don't have the time to fix them now, so this is kept for a later revisit)

This is a temporary fix to a problem where importing this particu
lar module raised an error that max(vers) was empty because the f
ile directory and file names are all hardcoded. A future JOANNE u
pdate should fix this with paths not being part of src file, but
rather a separate config file. But this particular change does no
t need the aforementioned changes in how paths are provided.

TLDR: L3 directory should contain only one L3 file; more than one
 will throw an error
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

Successfully merging this pull request may close these issues.

1 participant