Skip to content

Lv3 filename#59

Open
Geet-George wants to merge 2 commits intomasterfrom
lv3_filename
Open

Lv3 filename#59
Geet-George wants to merge 2 commits intomasterfrom
lv3_filename

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